K - the cache key typeV - the cache value typepublic class SimpleCacheFactoryBuilderService<K,V extends Identifiable<K>> extends CacheFactoryBuilderService<K,V> implements CacheFactoryBuilder<K,V>
CacheFactoryBuilder.BASE_CACHE_FACTORY_SERVICE_NAME, BASE_CACHE_SERVICE_NAME, DEFAULT_CACHE_SERVICE_NAME, DEFAULT_PASSIVATION_DISABLED_CACHE_SERVICE_NAME| Constructor and Description |
|---|
SimpleCacheFactoryBuilderService(String name) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.ServiceBuilder<? extends CacheFactory<K,V>> |
build(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName name,
BeanContext context,
StatefulTimeoutInfo timeout) |
CacheFactoryBuilder<K,V> |
getValue() |
void |
installDeploymentUnitDependencies(org.jboss.as.controller.capability.CapabilityServiceSupport support,
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.
|
build, equals, getServiceName, hashCode, toStringpublic SimpleCacheFactoryBuilderService(String name)
public CacheFactoryBuilder<K,V> getValue()
getValue in interface org.jboss.msc.value.Value<CacheFactoryBuilder<K,V extends Identifiable<K>>>public void installDeploymentUnitDependencies(org.jboss.as.controller.capability.CapabilityServiceSupport support,
org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName deploymentUnitServiceName)
installDeploymentUnitDependencies in interface CacheFactoryBuilder<K,V extends Identifiable<K>>public org.jboss.msc.service.ServiceBuilder<? extends CacheFactory<K,V>> build(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName name, BeanContext context, StatefulTimeoutInfo timeout)
build in interface CacheFactoryBuilder<K,V extends Identifiable<K>>public boolean supportsPassivation()
CacheFactoryBuildersupportsPassivation in interface CacheFactoryBuilder<K,V extends Identifiable<K>>Copyright © 2019 JBoss by Red Hat. All rights reserved.