Class AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator<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.distributable.AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator<K,V>
- Type Parameters:
K- the bean identifier typeV- the bean instance type
- All Implemented Interfaces:
Consumer<SupplierDependency<BeanManagementProvider>>,ResourceServiceConfigurator,StatefulSessionBeanCacheProvider<K,,V> ServiceConfigurator,ServiceNameProvider
- Direct Known Subclasses:
DistributableStatefulSessionBeanCacheProviderServiceConfigurator,LegacyDistributableStatefulSessionBeanCacheProviderServiceConfigurator
public abstract class AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator<K,V extends StatefulSessionBeanInstance<K>>
extends StatefulSessionBeanCacheProviderServiceNameProvider
implements ResourceServiceConfigurator, StatefulSessionBeanCacheProvider<K,V>, Consumer<SupplierDependency<BeanManagementProvider>>
Configures a service providing a distributable 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
ConstructorsConstructorDescriptionAbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator(org.jboss.as.controller.PathAddress address) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SupplierDependency<BeanManagementProvider> provider) org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) getDeploymentServiceConfigurators(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.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.ResourceServiceConfigurator
configureMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator
public AbstractDistributableStatefulSessionBeanCacheProviderServiceConfigurator(org.jboss.as.controller.PathAddress address)
-
-
Method Details
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
accept
-
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.
-