|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.phoenix.components.manager.Target
It reprensents a managed object in the managegement space. It is a container for zero or more management topics and zero or more management lists.
Constructor Summary | |
Target(String name,
Object managedResource)
Creates new Target |
Method Summary | |
void |
addTopic(ModelMBeanInfo topic)
Topics are a set of attributes and operations relevant to a particular aspect of an object. |
Object |
getManagedResource()
Returns the object managed by the target |
String |
getName()
Returns the name of the Target |
ModelMBeanInfo |
getTopic(String name)
Gets a topic for this Target |
Set |
getTopicNames()
Returns the Set of topics for this Target |
void |
removeTopic(String name)
Removes a topic for this target |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Target(String name, Object managedResource)
name
- the name for the targetmanagedResource
- the object that this managedResource represents in the management hierarchyMethod Detail |
public String getName()
public Object getManagedResource()
public void addTopic(ModelMBeanInfo topic)
topic
- public void removeTopic(String name)
name
- the name of the topic to removepublic ModelMBeanInfo getTopic(String name)
name
- the name of the topic
public Set getTopicNames()
Set
of topic names
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |