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>
TheRemoteInvocationSchemeclass builds a remote invocation service.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.12.06
-
-
Field Summary
-
Fields inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
m_serviceDependencies
-
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
-
Constructor Summary
Constructors Constructor Description RemoteInvocationScheme()Constructs aRemoteCacheScheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetServiceType()Return the service type.booleanisRunningClusterNeeded()Return true if a running cluster is needed before using a service.ServicerealizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)Realize (ensure) a Service.-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getEventInterceptorBuilders, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXml
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme
getSchemeName, isAnonymous, setSchemeName, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme
getSchemeName, isAnonymous
-
-
-
-
Constructor Detail
-
RemoteInvocationScheme
public RemoteInvocationScheme()
Constructs aRemoteCacheScheme.
-
-
Method Detail
-
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:
isRunningClusterNeededin interfaceServiceBuilder- Specified by:
isRunningClusterNeededin classAbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>- Returns:
trueif 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:
realizeServicein interfaceServiceBuilder- Overrides:
realizeServicein classAbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteInvocationServiceDependencies>- Parameters:
resolver- the ParameterResolverloader- the ClassLoadercluster- the Cluster which will already be running if necessary- Returns:
- the Service
-
-