Interface ServiceBuilder
-
- All Known Implementing Classes:
AbstractCachingScheme,AbstractCompositeScheme,AbstractJournalScheme,AbstractLocalCachingScheme,AbstractServiceScheme,BackingMapScheme,BaseGrpcCacheScheme,BaseGrpcScheme,CaffeineScheme,ClassScheme,ContinuousQueryCacheScheme,CustomScheme,DistributedScheme,ExternalScheme,FlashJournalScheme,InvocationScheme,LocalScheme,NearScheme,OptimisticScheme,OverflowScheme,PagedExternalScheme,PagedTopicScheme,ProxyScheme,RamJournalScheme,ReadWriteBackingMapScheme,RemoteCacheScheme,RemoteInvocationScheme,ReplicatedScheme,TransactionalScheme,ViewScheme
public interface ServiceBuilderThe ServiceBuilder interface is used by a builder that creates a Service.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.12.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetScopeName()Return the scope name.XmlElementgetXml()Deprecated.booleanisRunningClusterNeeded()Return true if a running cluster is needed before using a service.ServicerealizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)Realize (ensure) a Service.voidsetXml(XmlElement element)Deprecated.
-
-
-
Method Detail
-
isRunningClusterNeeded
boolean isRunningClusterNeeded()
Return true if a running cluster is needed before using a service.- Returns:
trueif a running cluster is needed before using a service
-
getScopeName
String getScopeName()
Return the scope name.- Returns:
- the scope name
-
getXml
@Deprecated XmlElement getXml()
Deprecated.Return the XmlElement that may be used to realize a Service by the ServiceBuilder.Note: There's no guarantee an implementation of this interface will use the returned XmlElement.
- Returns:
- the XmlElement
-
setXml
@Deprecated void setXml(XmlElement element)
Deprecated.Set the XmlElement that may be used to realize a Service.Note: There's no guarantee an implementation of this interface will use the specified XmlElement.
- Parameters:
element- the XmlElement
-
realizeService
Service realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)
Realize (ensure) a Service. The returned Service is fully configured and ready to be used.- Parameters:
resolver- the ParameterResolverloader- the ClassLoadercluster- the Cluster which will already be running if necessary- Returns:
- the Service
-
-