public final class ManagementRegistration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ManagementRegistration |
INSTANCE
The INSTANCE.
|
| Modifier and Type | Method and Description |
|---|---|
ManagementAgent |
getAgent(ManagementAgentLocation location)
Gets the agent.
|
ManagementAgent |
getAgent(java.lang.String path)
Gets the agent.
|
ManagementCategory |
getCategory(java.lang.String name)
Gets the category.
|
ManagementAgentLocation |
getLocation(java.lang.String path)
Gets the location.
|
java.lang.Object |
getMonitor()
Gets the monitor.
|
void |
registerAgent(LocatedManagementAgent agent)
Register agent.
|
void |
registerAgent(ManagementAgentLocation location,
ManagementAgent agent)
Register agent.
|
void |
unregisterAgent(LocatedManagementAgent agent)
Unregister agent.
|
void |
unregisterAgent(ManagementAgentLocation location)
Unregister agent.
|
public static final ManagementRegistration INSTANCE
public void registerAgent(ManagementAgentLocation location, ManagementAgent agent)
location - the locationagent - the agentpublic void unregisterAgent(ManagementAgentLocation location)
location - the locationpublic void registerAgent(LocatedManagementAgent agent)
agent - the agentpublic void unregisterAgent(LocatedManagementAgent agent)
agent - the agentpublic ManagementAgent getAgent(ManagementAgentLocation location)
location - the locationpublic ManagementAgent getAgent(java.lang.String path)
path - the pathpublic ManagementCategory getCategory(java.lang.String name)
name - the namepublic ManagementAgentLocation getLocation(java.lang.String path)
path - the pathpublic java.lang.Object getMonitor()