|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.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(java.lang.String attr)
Construct an attribute value expression for the passed attribute name |
|
| Method Summary | |
ValueExp (src) |
apply(ObjectName (src) name)
Apply this value expression to an MBean. |
protected java.lang.Object |
getAttribute(ObjectName (src) name)
Get the value of the attribute for a given object name |
java.lang.String |
getAttributeName()
Get the attribute name. |
void |
setMBeanServer(MBeanServer (src) server)
Set the MBeanServer for this expression. |
java.lang.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(java.lang.String attr)
attr - the attribute name| Method Detail |
public java.lang.String getAttributeName()
public ValueExp (src) apply(ObjectName (src) name)
throws BadStringOperationException (src) ,
BadBinaryOpValueExpException (src) ,
BadAttributeValueExpException (src) ,
InvalidApplicationException (src)
ValueExp (src)
apply in interface ValueExp (src) name - the object name of the mbean
BadAttributeValueExpException (src) - when an invalid MBean attribute
is used during query construction
InvalidApplicationException (src) - when trying to apply a subquery
expression to an MBean or an attribute expression to an
MBean of the wrong class.
BadBinaryOpValueExpException (src) - when an invalid binary operation
is used during query construction
BadStringOperationException (src) - when an invalid string operation
is used during query constructionpublic void setMBeanServer(MBeanServer (src) server)
ValueExp (src)
setMBeanServer in interface ValueExp (src) server - the MBeanServerpublic java.lang.String toString()
protected java.lang.Object getAttribute(ObjectName (src) name)
name - - the object name
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||