Topology.Entry| Modifier and Type | Field and Description |
|---|---|
static TopologyManager |
INSTANCE |
| Constructor and Description |
|---|
TopologyManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(TopologyListener listener) |
AdvertisementHandle |
advertise(String name,
String... tags) |
Map<String,List<Topology.Entry>> |
asMap() |
void |
register(Registration registration) |
Set<Registration> |
registrationsForService(String name) |
Set<Registration> |
registrationsForService(String name,
String tag) |
Set<Registration> |
registrationsForSourceKey(String sourceKey) |
void |
removeListener(TopologyListener listener) |
void |
setServiceTarget(org.jboss.msc.service.ServiceTarget serviceTarget) |
void |
unregister(Registration registration) |
void |
unregisterAll(String sourceKey) |
void |
unregisterAll(String sourceKey,
String name) |
public static final TopologyManager INSTANCE
public void setServiceTarget(org.jboss.msc.service.ServiceTarget serviceTarget)
public void addListener(TopologyListener listener)
addListener in interface Topologypublic void removeListener(TopologyListener listener)
removeListener in interface Topologypublic AdvertisementHandle advertise(String name, String... tags)
public Set<Registration> registrationsForSourceKey(String sourceKey)
public Set<Registration> registrationsForService(String name)
public Set<Registration> registrationsForService(String name, String tag)
public void register(Registration registration)
public void unregister(Registration registration)
public void unregisterAll(String sourceKey)
Copyright © 2017 JBoss by Red Hat. All rights reserved.