Class DistributableCacheFactoryServiceConfigurator<K,V extends Identifiable<K> & Contextual<Batch>>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.jboss.as.ejb3.cache.distributable.DistributableCacheFactoryServiceConfigurator<K,V>
-
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
CapabilityServiceConfigurator,CacheFactory<K,V>,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.ServiceNameProvider
public class DistributableCacheFactoryServiceConfigurator<K,V extends Identifiable<K> & Contextual<Batch>> extends org.wildfly.clustering.service.SimpleServiceNameProvider implements CapabilityServiceConfigurator, CacheFactory<K,V>
Service that provides a distributableCacheFactory.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DistributableCacheFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, CapabilityServiceConfigurator configurator)
-
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)org.wildfly.clustering.service.ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)Cache<K,V>createCache(Supplier<K> identifierFactory, StatefulObjectFactory<V> factory, PassivationListener<V> passivationListener)-
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
-
-
-
-
Constructor Detail
-
DistributableCacheFactoryServiceConfigurator
public DistributableCacheFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, CapabilityServiceConfigurator configurator)
-
-
Method Detail
-
configure
public org.wildfly.clustering.service.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 interfaceorg.wildfly.clustering.service.ServiceConfigurator
-
createCache
public Cache<K,V> createCache(Supplier<K> identifierFactory, StatefulObjectFactory<V> factory, PassivationListener<V> passivationListener)
- Specified by:
createCachein interfaceCacheFactory<K,V extends Identifiable<K> & Contextual<Batch>>
-
-