Class CacheServiceProviderRegistryServiceConfigurator<T>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.extension.clustering.server.provider.CacheServiceProviderRegistryServiceConfigurator<T>
- All Implemented Interfaces:
Supplier<AutoCloseableServiceProviderRegistry<T>>,CapabilityServiceConfigurator,CacheConfiguration,InfinispanConfiguration,CacheServiceProviderRegistryConfiguration<T>,ServiceConfigurator,ServiceNameProvider
public class CacheServiceProviderRegistryServiceConfigurator<T>
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, CacheServiceProviderRegistryConfiguration<T>, Supplier<AutoCloseableServiceProviderRegistry<T>>
Builds a clustered
ServiceProviderRegistrationFactory service.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCacheServiceProviderRegistryServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) get()<K,V> org.infinispan.Cache<K, V> getCache()Group<org.infinispan.remoting.transport.Address>getGroup()getId()Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configureMethods inherited from interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration
getBatcher, getBlockingManager, getCacheProperties, getReadForUpdateCache, getSilentWriteCache, getTryLockCache, getTryReadForUpdateCache, getWriteOnlyCacheMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
CacheServiceProviderRegistryServiceConfigurator
-
-
Method Details
-
get
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) - Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
getId
- Specified by:
getIdin interfaceCacheServiceProviderRegistryConfiguration<T>
-
getGroup
- Specified by:
getGroupin interfaceCacheServiceProviderRegistryConfiguration<T>
-
getCache
public <K,V> org.infinispan.Cache<K,V> getCache()- Specified by:
getCachein interfaceCacheConfiguration- Specified by:
getCachein interfaceInfinispanConfiguration
-
getCommandDispatcherFactory
- Specified by:
getCommandDispatcherFactoryin interfaceCacheServiceProviderRegistryConfiguration<T>
-