Package org.jboss.as.ejb3.cache.simple
Class SimpleCacheFactoryBuilderServiceConfigurator<K,V extends Identifiable<K>>
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.jboss.as.ejb3.cache.CacheFactoryBuilderServiceNameProvider
-
- org.jboss.as.ejb3.cache.simple.SimpleCacheFactoryBuilderServiceConfigurator<K,V>
-
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
ResourceServiceConfigurator,CacheFactoryBuilder<K,V>,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.ServiceNameProvider
public class SimpleCacheFactoryBuilderServiceConfigurator<K,V extends Identifiable<K>> extends CacheFactoryBuilderServiceNameProvider implements ResourceServiceConfigurator, CacheFactoryBuilder<K,V>
Service that provides a simpleCacheFactoryBuilder.- Author:
- Paul Ferraro
-
-
Field Summary
-
Fields inherited from class org.jboss.as.ejb3.cache.CacheFactoryBuilderServiceNameProvider
BASE_CACHE_FACTORY_SERVICE_NAME, DEFAULT_CACHE_SERVICE_NAME, DEFAULT_PASSIVATION_DISABLED_CACHE_SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description SimpleCacheFactoryBuilderServiceConfigurator(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)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.-
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
-
-
-
-
Method Detail
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceorg.wildfly.clustering.service.ServiceConfigurator
-
getDeploymentServiceConfigurators
public Iterable<CapabilityServiceConfigurator> getDeploymentServiceConfigurators(org.jboss.as.server.deployment.DeploymentUnit unit)
Description copied from interface:CacheFactoryBuilderReturns configurators for services to be installed for the specified deployment.- Specified by:
getDeploymentServiceConfiguratorsin interfaceCacheFactoryBuilder<K,V extends Identifiable<K>>- Parameters:
unit- a deployment unit- Returns:
- a collection of service configurators
-
getServiceConfigurator
public CapabilityServiceConfigurator getServiceConfigurator(org.jboss.as.server.deployment.DeploymentUnit unit, StatefulComponentDescription description, ComponentConfiguration configuration)
Description copied from interface:CacheFactoryBuilderReturns a configurator for a service supplying a cache factory.- Specified by:
getServiceConfiguratorin interfaceCacheFactoryBuilder<K,V extends Identifiable<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:CacheFactoryBuilderIndicates whether or not cache factories built by this object can support passivation.- Specified by:
supportsPassivationin interfaceCacheFactoryBuilder<K,V extends Identifiable<K>>- Returns:
- true, if passivation is supported, false otherwise.
-
-