Class DistributableStatefulSessionBeanCacheFactoryServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.jboss.as.ejb3.component.stateful.cache.distributable.DistributableStatefulSessionBeanCacheFactoryServiceConfigurator<K,V>
-
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Implemented Interfaces:
CapabilityServiceConfigurator,StatefulSessionBeanCacheFactory<K,V>,ServiceConfigurator,ServiceNameProvider
public class DistributableStatefulSessionBeanCacheFactoryServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>> extends SimpleServiceNameProvider implements CapabilityServiceConfigurator, StatefulSessionBeanCacheFactory<K,V>
Configures a service providing a distributable stateful session bean cache factory.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description DistributableStatefulSessionBeanCacheFactoryServiceConfigurator(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)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)StatefulSessionBeanCache<K,V>createStatefulBeanCache(StatefulSessionBeanCacheConfiguration<K,V> configuration)Creates a stateful session bean cache for a givenStatefulEJB.-
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.service.ServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
DistributableStatefulSessionBeanCacheFactoryServiceConfigurator
public DistributableStatefulSessionBeanCacheFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, CapabilityServiceConfigurator configurator)
-
-
Method Detail
-
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
-
createStatefulBeanCache
public StatefulSessionBeanCache<K,V> createStatefulBeanCache(StatefulSessionBeanCacheConfiguration<K,V> configuration)
Description copied from interface:StatefulSessionBeanCacheFactoryCreates a stateful session bean cache for a givenStatefulEJB.- Specified by:
createStatefulBeanCachein interfaceStatefulSessionBeanCacheFactory<K,V extends StatefulSessionBeanInstance<K>>- Parameters:
configuration- configuration of a stateful bean cache- Returns:
- a cache for a given
StatefulEJB.
-
-