Class CacheServiceProviderRegistryServiceConfigurator<T>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.extension.clustering.server.provider.CacheServiceProviderRegistryServiceConfigurator<T>
-
- All Implemented Interfaces:
Supplier<CacheServiceProviderRegistry<T>>,CapabilityServiceConfigurator,CacheConfiguration,InfinispanConfiguration,CacheServiceProviderRegistryConfiguration<T>,ServiceConfigurator,ServiceNameProvider
public class CacheServiceProviderRegistryServiceConfigurator<T> extends SimpleServiceNameProvider implements CapabilityServiceConfigurator, CacheServiceProviderRegistryConfiguration<T>, Supplier<CacheServiceProviderRegistry<T>>
Builds a clusteredServiceProviderRegistrationFactoryservice.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CacheServiceProviderRegistryServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)CacheServiceProviderRegistry<T>get()<K,V>
org.infinispan.Cache<K,V>getCache()CommandDispatcherFactorygetCommandDispatcherFactory()Group<org.infinispan.remoting.transport.Address>getGroup()ObjectgetId()-
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configure
-
Methods inherited from interface org.wildfly.clustering.ee.infinispan.InfinispanConfiguration
getBatcher, getBlockingManager, getCacheProperties, getReadForUpdateCache, getSilentWriteCache, getTryLockCache, getWriteOnlyCache
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
get
public CacheServiceProviderRegistry<T> 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
public Object getId()
- Specified by:
getIdin interfaceCacheServiceProviderRegistryConfiguration<T>
-
getGroup
public Group<org.infinispan.remoting.transport.Address> 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
public CommandDispatcherFactory getCommandDispatcherFactory()
- Specified by:
getCommandDispatcherFactoryin interfaceCacheServiceProviderRegistryConfiguration<T>
-
-