Class SimpleStatefulSessionBeanCacheFactoryServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.jboss.as.ejb3.component.stateful.cache.simple.SimpleStatefulSessionBeanCacheFactoryServiceConfigurator<K,V>
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Implemented Interfaces:
CapabilityServiceConfigurator,StatefulSessionBeanCacheFactory<K,,V> ServiceConfigurator,ServiceNameProvider
public class SimpleStatefulSessionBeanCacheFactoryServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>>
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, StatefulSessionBeanCacheFactory<K,V>
Configures a service that provides a simple stateful session bean cache factory.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) 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, 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.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
SimpleStatefulSessionBeanCacheFactoryServiceConfigurator
public SimpleStatefulSessionBeanCacheFactoryServiceConfigurator(StatefulComponentDescription description)
-
-
Method Details
-
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.
-