javax.management
Class AttributeValueExp
java.lang.Object
|
+--javax.management.AttributeValueExp
- All Implemented Interfaces:
- java.io.Serializable, ValueExp
- public class AttributeValueExp
- extends java.lang.Object
- implements ValueExp
- See Also:
- Serialized Form
Method Summary |
javax.management.ValueExp |
apply(javax.management.ObjectName name)
Apply the QueryExp on an MBean |
protected java.lang.Object |
getAttribute(javax.management.ObjectName name)
|
java.lang.String |
getAttributeName()
|
void |
setMBeanServer(javax.management.MBeanServer server)
Sets the MBeanServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeValueExp
public AttributeValueExp()
AttributeValueExp
public AttributeValueExp(java.lang.String attr)
getAttributeName
public java.lang.String getAttributeName()
apply
public javax.management.ValueExp apply(javax.management.ObjectName name)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
- Description copied from interface:
ValueExp
- Apply the QueryExp on an
MBean
- Specified by:
apply
in interface ValueExp
- Parameters:
name
- The ObjectName
of the MBean
to
apply this ValueExp
againts.
- Returns:
- ValueExp The value exp.
- Throws:
BadBinaryOpValueExpException
BadStringOperationException
BadAttributeValueExpException
InvalidApplicationException
setMBeanServer
public void setMBeanServer(javax.management.MBeanServer server)
- Description copied from interface:
ValueExp
- Sets the
MBeanServer
- Specified by:
setMBeanServer
in interface ValueExp
- Parameters:
server
- The MBeanServer
getAttribute
protected java.lang.Object getAttribute(javax.management.ObjectName name)