Interface StatefulSessionBeanCacheProvider<K,V extends StatefulSessionBeanInstance<K>>
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Known Implementing Classes:
AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator,DistributableStatefulSessionBeanCacheProviderServiceConfigurator,LegacyDistributableStatefulSessionBeanCacheProviderServiceConfigurator,SimpleStatefulSessionBeanCacheProviderServiceConfigurator
public interface StatefulSessionBeanCacheProvider<K,V extends StatefulSessionBeanInstance<K>>
Provides configurators for services to install a stateful session bean cache factory.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiongetDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit, EEModuleConfiguration moduleConfiguration) Returns configurators for services to be installed for the specified deployment.getStatefulBeanCacheFactoryServiceConfigurator(org.jboss.as.server.deployment.DeploymentUnit unit, StatefulComponentDescription description, ComponentConfiguration configuration) Returns a configurator for a service supplying a cache factory.booleanIndicates whether or not cache factories provides by this object can support passivation.
-
Method Details
-
getDeploymentServiceConfigurators
Iterable<CapabilityServiceConfigurator> getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit, EEModuleConfiguration moduleConfiguration) Returns configurators for services to be installed for the specified deployment.- Parameters:
unit- a deployment unit- Returns:
- a collection of service configurators
-
getStatefulBeanCacheFactoryServiceConfigurator
CapabilityServiceConfigurator getStatefulBeanCacheFactoryServiceConfigurator(org.jboss.as.server.deployment.DeploymentUnit unit, StatefulComponentDescription description, ComponentConfiguration configuration) Returns a configurator for a service supplying a cache factory.- Parameters:
unit- the deployment unit containing this EJB component.description- the EJB component descriptionconfiguration- the component configuration- Returns:
- a service configurator
-
supportsPassivation
boolean supportsPassivation()Indicates whether or not cache factories provides by this object can support passivation.- Returns:
- true, if passivation is supported, false otherwise.
-