Class CacheContainerServiceConfigurator
java.lang.Object
org.jboss.as.clustering.controller.CapabilityServiceNameProvider
org.jboss.as.clustering.infinispan.subsystem.CacheContainerServiceConfigurator
- All Implemented Interfaces:
Consumer<org.infinispan.manager.EmbeddedCacheManager>,Function<org.infinispan.manager.EmbeddedCacheManager,,org.infinispan.manager.EmbeddedCacheManager> Supplier<org.infinispan.manager.EmbeddedCacheManager>,UnaryOperator<org.infinispan.manager.EmbeddedCacheManager>,ResourceServiceConfigurator,ServiceConfigurator,ServiceNameProvider
public class CacheContainerServiceConfigurator
extends CapabilityServiceNameProvider
implements ResourceServiceConfigurator, UnaryOperator<org.infinispan.manager.EmbeddedCacheManager>, Supplier<org.infinispan.manager.EmbeddedCacheManager>, Consumer<org.infinispan.manager.EmbeddedCacheManager>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCacheContainerServiceConfigurator(org.jboss.as.controller.PathAddress address, org.wildfly.subsystem.service.capture.ServiceValueRegistry<org.infinispan.Cache<?, ?>> registry) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.infinispan.manager.EmbeddedCacheManager manager) org.infinispan.manager.EmbeddedCacheManagerapply(org.infinispan.manager.EmbeddedCacheManager manager) org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) cacheStarted(org.infinispan.notifications.cachemanagerlistener.event.CacheStartedEvent event) cacheStopped(org.infinispan.notifications.cachemanagerlistener.event.CacheStoppedEvent event) configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) org.infinispan.manager.EmbeddedCacheManagerget()Methods inherited from class org.jboss.as.clustering.controller.CapabilityServiceNameProvider
getServiceNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
CacheContainerServiceConfigurator
public CacheContainerServiceConfigurator(org.jboss.as.controller.PathAddress address, org.wildfly.subsystem.service.capture.ServiceValueRegistry<org.infinispan.Cache<?, ?>> registry)
-
-
Method Details
-
apply
public org.infinispan.manager.EmbeddedCacheManager apply(org.infinispan.manager.EmbeddedCacheManager manager) -
get
public org.infinispan.manager.EmbeddedCacheManager get() -
accept
public void accept(org.infinispan.manager.EmbeddedCacheManager manager) -
configure
public CacheContainerServiceConfigurator configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException - Specified by:
configurein interfaceResourceServiceConfigurator- Throws:
org.jboss.as.controller.OperationFailedException
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
cacheStarted
public CompletionStage<Void> cacheStarted(org.infinispan.notifications.cachemanagerlistener.event.CacheStartedEvent event) -
cacheStopped
public CompletionStage<Void> cacheStopped(org.infinispan.notifications.cachemanagerlistener.event.CacheStoppedEvent event)
-