|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.ValueExpSupport javax.management.AttributeValueExp
A String that is an arguement to a query.
Revisions:
20020317 Adrian Brock:
20020711 Adrian Brock:
Constructor Summary | |
AttributeValueExp()
Construct an attribute value expression for the null attribute name |
|
AttributeValueExp(String attr)
Construct an attribute value expression for the passed attribute name |
Method Summary | |
ValueExp |
apply(ObjectName name)
Apply this value expression to an MBean. |
protected Object |
getAttribute(ObjectName name)
Get the value of the attribute for a given object name |
String |
getAttributeName()
Get the attribute name. |
void |
setMBeanServer(MBeanServer server)
Set the MBeanServer for this expression. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AttributeValueExp()
public AttributeValueExp(String attr)
attr
- the attribute nameMethod Detail |
public String getAttributeName()
public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
ValueExp
BadStringOperationException
BadBinaryOpValueExpException
BadAttributeValueExpException
InvalidApplicationException
public String toString()
protected Object getAttribute(ObjectName name)
public void setMBeanServer(MBeanServer server)
ValueExp
setMBeanServer
in interface ValueExp
server
- the MBeanServer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |