public interface SingletonServiceBuilderFactory extends SingletonPolicy
CAPABILITY_NAME
Modifier and Type | Method and Description |
---|---|
<T> SingletonServiceBuilder<T> |
createSingletonServiceBuilder(ServiceName name,
Service<T> service)
Use
org.wildfly.clustering.singleton.spi.SingletonServiceName to generate an appropriate ServiceName . |
<T> SingletonServiceBuilder<T> createSingletonServiceBuilder(ServiceName name, Service<T> service)
org.wildfly.clustering.singleton.spi.SingletonServiceName
to generate an appropriate ServiceName
.createSingletonServiceBuilder
in interface SingletonPolicy
name
- the name of the serviceservice
- the service to installCopyright © 2016 JBoss by Red Hat. All rights reserved.