Class SimpleStatefulSessionBeanCacheProviderServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.jboss.as.ejb3.component.stateful.cache.StatefulSessionBeanCacheProviderServiceNameProvider
-
- org.jboss.as.ejb3.component.stateful.cache.simple.SimpleStatefulSessionBeanCacheProviderServiceConfigurator<K,V>
-
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Implemented Interfaces:
ResourceServiceConfigurator,StatefulSessionBeanCacheProvider<K,V>,ServiceConfigurator,ServiceNameProvider
public class SimpleStatefulSessionBeanCacheProviderServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>> extends StatefulSessionBeanCacheProviderServiceNameProvider implements ResourceServiceConfigurator, StatefulSessionBeanCacheProvider<K,V>
Configures a service that provides a simple stateful session bean cache provider.- Author:
- Paul Ferraro
-
-
Field Summary
-
Fields inherited from class org.jboss.as.ejb3.component.stateful.cache.StatefulSessionBeanCacheProviderServiceNameProvider
BASE_CACHE_PROVIDER_SERVICE_NAME, DEFAULT_CACHE_SERVICE_NAME, DEFAULT_PASSIVATION_DISABLED_CACHE_SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description SimpleStatefulSessionBeanCacheProviderServiceConfigurator(org.jboss.as.controller.PathAddress address)
-
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)Iterable<CapabilityServiceConfigurator>getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit, EEModuleConfiguration moduleConfiguration)Returns configurators for services to be installed for the specified deployment.CapabilityServiceConfiguratorgetStatefulBeanCacheFactoryServiceConfigurator(org.jboss.as.server.deployment.DeploymentUnit unit, StatefulComponentDescription description, ComponentConfiguration configuration)Returns a configurator for a service supplying a cache factory.booleansupportsPassivation()Indicates whether or not cache factories provides by this object can support passivation.-
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.ResourceServiceConfigurator
configure
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Method Detail
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceServiceConfigurator
-
getDeploymentServiceConfigurators
public Iterable<CapabilityServiceConfigurator> getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit, EEModuleConfiguration moduleConfiguration)
Description copied from interface:StatefulSessionBeanCacheProviderReturns configurators for services to be installed for the specified deployment.- Specified by:
getDeploymentServiceConfiguratorsin interfaceStatefulSessionBeanCacheProvider<K,V extends StatefulSessionBeanInstance<K>>- Parameters:
unit- a deployment unit- Returns:
- a collection of service configurators
-
getStatefulBeanCacheFactoryServiceConfigurator
public CapabilityServiceConfigurator getStatefulBeanCacheFactoryServiceConfigurator(org.jboss.as.server.deployment.DeploymentUnit unit, StatefulComponentDescription description, ComponentConfiguration configuration)
Description copied from interface:StatefulSessionBeanCacheProviderReturns a configurator for a service supplying a cache factory.- Specified by:
getStatefulBeanCacheFactoryServiceConfiguratorin interfaceStatefulSessionBeanCacheProvider<K,V extends StatefulSessionBeanInstance<K>>- Parameters:
unit- the deployment unit containing this EJB component.description- the EJB component descriptionconfiguration- the component configuration- Returns:
- a service configurator
-
supportsPassivation
public boolean supportsPassivation()
Description copied from interface:StatefulSessionBeanCacheProviderIndicates whether or not cache factories provides by this object can support passivation.- Specified by:
supportsPassivationin interfaceStatefulSessionBeanCacheProvider<K,V extends StatefulSessionBeanInstance<K>>- Returns:
- true, if passivation is supported, false otherwise.
-
-