Class CacheServiceConfigurator<K,V>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.clustering.infinispan.service.CacheServiceConfigurator<K,V>
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
Consumer<org.infinispan.Cache<K,,V>> Supplier<org.infinispan.Cache<K,,V>> CapabilityServiceConfigurator,ServiceConfigurator,ServiceNameProvider
public class CacheServiceConfigurator<K,V>
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, Supplier<org.infinispan.Cache<K,V>>, Consumer<org.infinispan.Cache<K,V>>
Service that provides a cache and handles its lifecycle
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCacheServiceConfigurator(org.jboss.msc.service.ServiceName name, String containerName, String cacheName) -
Method Summary
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.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
CacheServiceConfigurator
-
-
Method Details
-
get
-
accept
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) - Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public final org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-