|
||||||||||
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(java.lang.String name,
java.lang.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. |
java.lang.Object |
getManagedResource()
Returns the object managed by the target |
java.lang.String |
getName()
Returns the name of the Target |
ModelMBeanInfo |
getTopic(java.lang.String name)
Gets a topic for this Target |
java.util.Set |
getTopicNames()
Returns the Set of topics for this Target |
void |
removeTopic(java.lang.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(java.lang.String name, java.lang.Object managedResource)
name
- the name for the targetmanagedResource
- the object that this managedResource represents in the management hierarchyMethod Detail |
public java.lang.String getName()
public java.lang.Object getManagedResource()
public void addTopic(ModelMBeanInfo topic)
topic
- public void removeTopic(java.lang.String name)
name
- the name of the topic to removepublic ModelMBeanInfo getTopic(java.lang.String name)
name
- the name of the topic
public java.util.Set getTopicNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |