|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.AttributeValueExp
public class 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 name| Method Detail |
|---|
public String getAttributeName()
public ValueExp apply(ObjectName name)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
ValueExp
apply in interface ValueExpname - the object name of the mbean
BadStringOperationException - when an invalid string operation
is used during query construction
BadBinaryOpValueExpException - when an invalid binary operation
is used during query construction
BadAttributeValueExpException - when an invalid MBean attribute
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.public void setMBeanServer(MBeanServer server)
ValueExp
setMBeanServer in interface ValueExpserver - the MBeanServerpublic String toString()
toString in class Objectprotected Object getAttribute(ObjectName name)
name - - the object name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||