public class CacheServiceProviderRegistryBuilder<T> extends ServiceProviderRegistryServiceNameProvider implements Builder<ServiceProviderRegistry<T>>, org.jboss.msc.service.Service<ServiceProviderRegistry<T>>, CacheServiceProviderRegistryConfiguration<T>
ServiceProviderRegistrationFactory
service.cacheName, containerName
Constructor and Description |
---|
CacheServiceProviderRegistryBuilder(String containerName,
String cacheName) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.service.ServiceBuilder<ServiceProviderRegistry<T>> |
build(org.jboss.msc.service.ServiceTarget target)
Builds a service into the specified target.
|
Batcher<? extends Batch> |
getBatcher() |
org.infinispan.Cache<T,Set<Node>> |
getCache() |
CommandDispatcherFactory |
getCommandDispatcherFactory() |
Group |
getGroup() |
Object |
getId() |
ServiceProviderRegistry<T> |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
getServiceName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceName
public org.jboss.msc.service.ServiceBuilder<ServiceProviderRegistry<T>> build(org.jboss.msc.service.ServiceTarget target)
Builder
build
in interface Builder<ServiceProviderRegistry<T>>
target
- the service installation targetpublic ServiceProviderRegistry<T> getValue()
getValue
in interface org.jboss.msc.value.Value<ServiceProviderRegistry<T>>
public void start(org.jboss.msc.service.StartContext context)
start
in interface org.jboss.msc.service.Service<ServiceProviderRegistry<T>>
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<ServiceProviderRegistry<T>>
public Object getId()
getId
in interface CacheServiceProviderRegistryConfiguration<T>
public Group getGroup()
getGroup
in interface CacheServiceProviderRegistryConfiguration<T>
public org.infinispan.Cache<T,Set<Node>> getCache()
getCache
in interface CacheServiceProviderRegistryConfiguration<T>
public CommandDispatcherFactory getCommandDispatcherFactory()
getCommandDispatcherFactory
in interface CacheServiceProviderRegistryConfiguration<T>
public Batcher<? extends Batch> getBatcher()
getBatcher
in interface CacheServiceProviderRegistryConfiguration<T>
Copyright © 2016 JBoss by Red Hat. All rights reserved.