Class RemoteInvocationScheme

java.lang.Object
com.tangosol.coherence.config.scheme.AbstractScheme
com.tangosol.coherence.config.scheme.AbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>
com.tangosol.coherence.config.scheme.RemoteInvocationScheme
All Implemented Interfaces:
ServiceBuilder, Scheme, ServiceScheme

public class RemoteInvocationScheme extends AbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>
The RemoteInvocationScheme class builds a remote invocation service.
Since:
Coherence 12.1.2
Author:
pfm 2011.12.06
  • Constructor Details

    • RemoteInvocationScheme

      public RemoteInvocationScheme()
      Constructs a RemoteCacheScheme.
  • Method Details

    • getServiceType

      public String getServiceType()
      Return the service type.
      Returns:
      the service type
    • isRunningClusterNeeded

      public boolean isRunningClusterNeeded()
      Return true if a running cluster is needed before using a service.
      Specified by:
      isRunningClusterNeeded in interface ServiceBuilder
      Specified by:
      isRunningClusterNeeded in class AbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>
      Returns:
      true if a running cluster is needed before using a service
    • realizeService

      public Service realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)
      Realize (ensure) a Service. The returned Service is fully configured and ready to be used.
      Specified by:
      realizeService in interface ServiceBuilder
      Overrides:
      realizeService in class AbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>
      Parameters:
      resolver - the ParameterResolver
      loader - the ClassLoader
      cluster - the Cluster which will already be running if necessary
      Returns:
      the Service