|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object 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
name
- the object name of the mbean
BadBinaryOpValueExpException
- when an invalid binary operation
is used during query construction
InvalidApplicationException
- when trying to apply a subquery
expression to an MBean or an attribute expression to an
MBean of the wrong class.
BadStringOperationException
- when an invalid string operation
is used during query construction
BadAttributeValueExpException
- when an invalid MBean attribute
is used during query constructionpublic void setMBeanServer(MBeanServer server)
ValueExp
setMBeanServer
in interface ValueExp
server
- the MBeanServerpublic String toString()
protected Object getAttribute(ObjectName name)
name
- - the object name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |