Package org.jboss.as.ejb3.cache
Interface CacheFactoryBuilder<K,V extends Identifiable<K>>
-
- Type Parameters:
K- the cache keyV- the cache value
- All Known Implementing Classes:
AbstractDistributableCacheFactoryBuilderServiceConfigurator,DistributableCacheFactoryBuilderServiceConfigurator,LegacyDistributableCacheFactoryBuilderServiceConfigurator,SimpleCacheFactoryBuilderServiceConfigurator
public interface CacheFactoryBuilder<K,V extends Identifiable<K>>Builds aCacheFactoryservice.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<CapabilityServiceConfigurator>getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit)Returns configurators for services to be installed for the specified deployment.CapabilityServiceConfiguratorgetServiceConfigurator(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 built by this object can support passivation.
-
-
-
Method Detail
-
getDeploymentServiceConfigurators
Iterable<CapabilityServiceConfigurator> getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit)
Returns configurators for services to be installed for the specified deployment.- Parameters:
unit- a deployment unit- Returns:
- a collection of service configurators
-
getServiceConfigurator
CapabilityServiceConfigurator getServiceConfigurator(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 built by this object can support passivation.- Returns:
- true, if passivation is supported, false otherwise.
-
-