public class RegistryCollectorService<K,V> extends org.jboss.msc.service.AbstractService<RegistryCollector<K,V>> implements RegistryCollector<K,V>
RegistryCollector.Listener<K,V>
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
RegistryCollectorService() |
Modifier and Type | Method and Description |
---|---|
void |
add(Registry<K,V> registry) |
void |
addListener(RegistryCollector.Listener<K,V> listener) |
Collection<Registry<K,V>> |
getRegistries() |
RegistryCollector<K,V> |
getValue() |
void |
remove(Registry<K,V> registry) |
void |
removeListener(RegistryCollector.Listener<K,V> listener) |
public RegistryCollector<K,V> getValue()
getValue
in interface org.jboss.msc.value.Value<RegistryCollector<K,V>>
getValue
in class org.jboss.msc.service.AbstractService<RegistryCollector<K,V>>
public void remove(Registry<K,V> registry)
remove
in interface RegistryCollector<K,V>
public void addListener(RegistryCollector.Listener<K,V> listener)
addListener
in interface RegistryCollector<K,V>
public void removeListener(RegistryCollector.Listener<K,V> listener)
removeListener
in interface RegistryCollector<K,V>
public Collection<Registry<K,V>> getRegistries()
getRegistries
in interface RegistryCollector<K,V>
Copyright © 2017 JBoss by Red Hat. All rights reserved.