K
- the cache key typeV
- the cache value typepublic class CacheBuilder<K,V> extends Object implements org.jboss.msc.service.Service<org.infinispan.Cache<K,V>>, Builder<org.infinispan.Cache<K,V>>
Constructor and Description |
---|
CacheBuilder(String containerName,
String cacheName) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<org.infinispan.Cache<K,V>> |
build(org.jboss.msc.service.ServiceTarget target)
Builds a service into the specified target.
|
org.jboss.msc.service.ServiceName |
getServiceName()
Returns the associated service name
|
org.infinispan.Cache<K,V> |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public org.jboss.msc.service.ServiceName getServiceName()
ServiceNameProvider
getServiceName
in interface ServiceNameProvider
public org.jboss.msc.service.ServiceBuilder<org.infinispan.Cache<K,V>> build(org.jboss.msc.service.ServiceTarget target)
Builder
public void start(org.jboss.msc.service.StartContext context)
Copyright © 2016 JBoss by Red Hat. All rights reserved.