Class InfinispanBeanGroupManagerServiceConfigurator<K,V extends BeanInstance<K>>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.clustering.ejb.cache.bean.BeanGroupManagerServiceNameProvider
org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanGroupManagerServiceConfigurator<K,V>
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Implemented Interfaces:
Supplier<BeanGroupManager<K,,V>> CapabilityServiceConfigurator,CacheConfiguration,InfinispanConfiguration,ServiceConfigurator,ServiceNameProvider
public class InfinispanBeanGroupManagerServiceConfigurator<K,V extends BeanInstance<K>>
extends BeanGroupManagerServiceNameProvider
implements CapabilityServiceConfigurator, Supplier<BeanGroupManager<K,V>>, InfinispanConfiguration
Configures a service that provides a
BeanGroupManager for a bean deployment.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionInfinispanBeanGroupManagerServiceConfigurator(DeploymentConfiguration config, SupplierDependency<org.infinispan.Cache<?, ?>> cache, SupplierDependency<ByteBufferMarshaller> marshaller) -
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
configure, 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
-
InfinispanBeanGroupManagerServiceConfigurator
public InfinispanBeanGroupManagerServiceConfigurator(DeploymentConfiguration config, SupplierDependency<org.infinispan.Cache<?, ?>> cache, SupplierDependency<ByteBufferMarshaller> marshaller)
-
-
Method Details
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
get
-
getCache
public <KK,VV> org.infinispan.Cache<KK,VV> getCache()- Specified by:
getCachein interfaceCacheConfiguration- Specified by:
getCachein interfaceInfinispanConfiguration
-