public interface ServiceScheme extends Scheme
CachingScheme
, extend this class to add support for caches
and maps.Modifier and Type | Field and Description |
---|---|
static String |
DELIM_APPLICATION_SCOPE
Delimiter for the Application Scope in the
scoped service name |
static String |
DELIM_DOMAIN_PARTITION
Delimiter for the Domain Partition name in the
scoped service name |
Modifier and Type | Method and Description |
---|---|
List<NamedEventInterceptorBuilder> |
getEventInterceptorBuilders()
|
String |
getScopedServiceName()
Return the service name with any scoping applied.
|
ServiceBuilder |
getServiceBuilder()
Return the
ServiceBuilder that is needed to build a service. |
String |
getServiceName()
Return the service name.
|
String |
getServiceType()
Return the service type.
|
boolean |
isAutoStart()
Return true if the service has auto-start enabled.
|
getSchemeName, isAnonymous
static final String DELIM_DOMAIN_PARTITION
scoped service name
static final String DELIM_APPLICATION_SCOPE
scoped service name
boolean isAutoStart()
String getServiceName()
String getScopedServiceName()
[<domain-partition-name>'/'] [<application-scope>':'] <service-name>
String getServiceType()
ServiceBuilder getServiceBuilder()
ServiceBuilder
that is needed to build a service.ServiceBuilder
or null if the scheme does not support
services.List<NamedEventInterceptorBuilder> getEventInterceptorBuilders()
List
of NamedEventInterceptorBuilder
s that have been
defined for the ServiceScheme
.
Note: For those ServiceScheme
s don't support event interceptors,
the returned value must be an empty list.
List
over NamedEventInterceptorBuilder
s