Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.coherence.config.scheme
Class RemoteInvocationScheme

java.lang.Object
  extended by com.tangosol.coherence.config.scheme.AbstractScheme
      extended by com.tangosol.coherence.config.scheme.AbstractServiceScheme
          extended by com.tangosol.coherence.config.scheme.RemoteInvocationScheme

All Implemented Interfaces:
ServiceBuilder, Scheme, ServiceScheme

public class RemoteInvocationScheme
extends AbstractServiceScheme

The RemoteInvocationScheme class builds a remote invocation service.

Since:
Coherence 12.1.2
Author:
pfm 2011.12.06

Constructor Summary
RemoteInvocationScheme()
           

 

Method Summary
 java.lang.String getServiceType()
          Return the service type.
 boolean isRunningClusterNeeded()
          Return true if a running cluster is needed before using a service.
 Service realizeService(com.tangosol.config.expression.ParameterResolver resolver, java.lang.ClassLoader loader, Cluster cluster)
          Realize (ensure) a Service.
 void setXml(XmlElement xml)
          Set the XML so that we can create a Service using the SafeCluster.ensureService.

 

Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
getEventInterceptorBuilders, getScopedServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, setAutoStart, setScopeName, setServiceName, validate

 

Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme
getSchemeName, isAnonymous, setSchemeName

 

Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme
getSchemeName, isAnonymous

 

Constructor Detail

RemoteInvocationScheme

public RemoteInvocationScheme()

Method Detail

getServiceType

public java.lang.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

realizeService

public Service realizeService(com.tangosol.config.expression.ParameterResolver resolver,
                              java.lang.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
Parameters:
resolver - the ParameterResover
loader - the ClassLoader
cluster - the Cluster which will already be running if necessary
Returns:
the Service

setXml

public void setXml(XmlElement xml)
Set the XML so that we can create a Service using the SafeCluster.ensureService.
Specified by:
setXml in interface ServiceBuilder
Overrides:
setXml in class AbstractServiceScheme
Parameters:
xml - the distributed-scheme XML

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.