public class CacheFactoryBuilderRegistryService<K,V extends Identifiable<K>> extends Object implements org.jboss.msc.service.Service<CacheFactoryBuilderRegistry<K,V>>, CacheFactoryBuilderRegistry<K,V>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
CacheFactoryBuilderRegistryService() |
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
CacheFactoryBuilder<K,V> builder) |
Set<String> |
getBuilderNames() |
Collection<CacheFactoryBuilder<K,V>> |
getBuilders() |
CacheFactoryBuilderRegistry<K,V> |
getValue() |
void |
remove(String name) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public CacheFactoryBuilderRegistry<K,V> getValue()
getValue
in interface org.jboss.msc.value.Value<CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>>
public void start(org.jboss.msc.service.StartContext context)
start
in interface org.jboss.msc.service.Service<CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>>
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>>
public Set<String> getBuilderNames()
getBuilderNames
in interface CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>
public Collection<CacheFactoryBuilder<K,V>> getBuilders()
getBuilders
in interface CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>
public void add(String name, CacheFactoryBuilder<K,V> builder)
add
in interface CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>
public void remove(String name)
remove
in interface CacheFactoryBuilderRegistry<K,V extends Identifiable<K>>
Copyright © 2015 JBoss by Red Hat. All rights reserved.