Interface ServiceScheme
- All Superinterfaces:
 Scheme
- All Known Subinterfaces:
 CachingScheme,NamedQueueScheme<Q>,NamedTopicScheme,ObservableCachingScheme,QueueScheme<C,,S> TopicScheme<C,S> 
- All Known Implementing Classes:
 AbstractCachingScheme,AbstractCompositeScheme,AbstractJournalScheme,AbstractLocalCachingScheme,AbstractServiceScheme,BackingMapScheme,BaseGrpcCacheScheme,BaseGrpcScheme,BaseGrpcTopicScheme,CaffeineScheme,ClassScheme,ContinuousQueryCacheScheme,CustomScheme,DistributedScheme,ExternalScheme,FlashJournalScheme,InvocationScheme,LocalScheme,NearScheme,OptimisticScheme,OverflowScheme,PagedExternalScheme,PagedQueueScheme,PagedTopicScheme,PagedTopicStorageScheme,ProxyScheme,RamJournalScheme,ReadWriteBackingMapScheme,RemoteCacheScheme,RemoteInvocationScheme,RemoteTopicScheme,ReplicatedScheme,SimpleDequeScheme,TransactionalScheme,ViewScheme,WrapperCachingScheme
This interface exposes service related scheme information.  Other schemes,
 such as 
CachingScheme, extend this class to add support for caches
 and maps.- Since:
 - Coherence 12.1.2
 - Author:
 - pfm 2011.12.30
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDelimiter for the Application Scope in thescoped service namestatic final StringDelimiter for the Domain Partition name in thescoped service name - 
Method Summary
Modifier and TypeMethodDescriptiondefault NamedCollectionBuildergetNamedCollectionBuilder(Class<? extends NamedCollection> clz, com.oracle.coherence.common.util.Options<NamedCollection.Option> options) Return the service name with any scoping applied.static StringgetScopedServiceName(String sScopeName, String sServiceName) Return a scoped service namedefault StringReturn a scoped service name to use as the string parameter forPROP_SERVICE_PARTITIONS.static StringgetScopePrefix(String sScopeName, com.tangosol.application.ContainerContext context) Return a scope name prefixed with any tenancy name.Return theServiceBuilderthat is needed to build a service.Return the service name.Return the service type.booleanReturn true if the service has auto-start enabled.Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme
getSchemeName, isAnonymous 
- 
Field Details
- 
DELIM_DOMAIN_PARTITION
Delimiter for the Domain Partition name in thescoped service name- See Also:
 
 - 
DELIM_APPLICATION_SCOPE
Delimiter for the Application Scope in thescoped service name- See Also:
 
 
 - 
 - 
Method Details
- 
isAutoStart
boolean isAutoStart()Return true if the service has auto-start enabled.- Returns:
 - the auto-start flag.
 
 - 
getServiceName
String getServiceName()Return the service name.- Returns:
 - the service name
 
 - 
getScopedServiceName
String getScopedServiceName()Return the service name with any scoping applied. The scoped name in general has the following format:[<domain-partition-name>'/'] [<application-scope>':'] <service-name>
- Returns:
 - the scoped service name
 
 - 
getScopedServiceNameForProperty
Return a scoped service name to use as the string parameter forPROP_SERVICE_PARTITIONS.When present, replace
DELIM_DOMAIN_PARTITIONandDELIM_APPLICATION_SCOPEin scoped service name with character period. For example, scoped service nametenant/appscope:PartitionedCacheis transformed totenant.appscope.PartitionedCache.- Returns:
 - transformed scoped service name
 - Since:
 - 24.09
 
 - 
getServiceType
String getServiceType()Return the service type.- Returns:
 - the service type
 
 - 
getServiceBuilder
ServiceBuilder getServiceBuilder()Return theServiceBuilderthat is needed to build a service.- Returns:
 - the 
ServiceBuilderor null if the scheme does not support services. 
 - 
getEventInterceptorBuilders
List<NamedEventInterceptorBuilder> getEventInterceptorBuilders()Obtains theListofNamedEventInterceptorBuilders that have been defined for theServiceScheme.Note: For those
ServiceSchemes don't support event interceptors, the returned value must be an empty list.- Returns:
 - an 
ListoverNamedEventInterceptorBuilders 
 - 
getNamedCollectionBuilder
default NamedCollectionBuilder getNamedCollectionBuilder(Class<? extends NamedCollection> clz, com.oracle.coherence.common.util.Options<NamedCollection.Option> options)  - 
getScopePrefix
Return a scope name prefixed with any tenancy name.- Parameters:
 sScopeName- the scope name to prefixcontext- an optional container name to use to obtain the domain partition- Returns:
 - a scope name with a domain partition prefix, or the plain scope name if there is no domain partition
 
 - 
getScopedServiceName
Return a scoped service name- Parameters:
 sScopeName- the optional scope namesServiceName- the service name- Returns:
 - the scoped service name
 
 
 -