K
- the cache key typeV
- the cache value typepublic class DistributableCacheFactoryBuilderService<K,V extends Identifiable<K> & Contextual<Batch>> extends org.jboss.msc.service.AbstractService<DistributableCacheFactoryBuilder<K,V>> implements DistributableCacheFactoryBuilder<K,V>
CacheFactoryBuilder
.Constructor and Description |
---|
DistributableCacheFactoryBuilderService(String name,
BeanManagerFactoryBuilderConfiguration config) |
DistributableCacheFactoryBuilderService(String name,
BeanManagerFactoryBuilderFactoryProvider<Batch> provider,
BeanManagerFactoryBuilderConfiguration config) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<DistributableCacheFactoryBuilder<K,V>> |
build(org.jboss.msc.service.ServiceTarget target) |
org.jboss.msc.service.ServiceBuilder<? extends CacheFactory<K,V>> |
build(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName serviceName,
BeanContext context,
StatefulTimeoutInfo statefulTimeout) |
BeanManagerFactoryBuilderConfiguration |
getConfiguration() |
static org.jboss.msc.service.ServiceName |
getServiceName(String name) |
DistributableCacheFactoryBuilder<K,V> |
getValue() |
void |
installDeploymentUnitDependencies(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName deploymentUnitServiceName) |
boolean |
supportsPassivation()
Indicates whether or not cache factories built by this object can support passivation.
|
public DistributableCacheFactoryBuilderService(String name, BeanManagerFactoryBuilderConfiguration config)
public DistributableCacheFactoryBuilderService(String name, BeanManagerFactoryBuilderFactoryProvider<Batch> provider, BeanManagerFactoryBuilderConfiguration config)
public static org.jboss.msc.service.ServiceName getServiceName(String name)
public org.jboss.msc.service.ServiceBuilder<DistributableCacheFactoryBuilder<K,V>> build(org.jboss.msc.service.ServiceTarget target)
public DistributableCacheFactoryBuilder<K,V> getValue()
getValue
in interface org.jboss.msc.value.Value<DistributableCacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>>
getValue
in class org.jboss.msc.service.AbstractService<DistributableCacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>>
public BeanManagerFactoryBuilderConfiguration getConfiguration()
getConfiguration
in interface DistributableCacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>
public void installDeploymentUnitDependencies(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName deploymentUnitServiceName)
installDeploymentUnitDependencies
in interface CacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>
public org.jboss.msc.service.ServiceBuilder<? extends CacheFactory<K,V>> build(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName serviceName, BeanContext context, StatefulTimeoutInfo statefulTimeout)
build
in interface CacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>
public boolean supportsPassivation()
CacheFactoryBuilder
supportsPassivation
in interface CacheFactoryBuilder<K,V extends Identifiable<K> & Contextual<Batch>>
Copyright © 2017 JBoss by Red Hat. All rights reserved.