javax.management
Class AttributeValueExp

java.lang.Object
  extended byjavax.management.AttributeValueExp
All Implemented Interfaces:
java.io.Serializable, ValueExp

public class AttributeValueExp
extends java.lang.Object
implements ValueExp

Version:
$Revision: 1.5 $
Author:
Carlos Quiroz
See Also:
Serialized Form

Constructor Summary
AttributeValueExp()
           
AttributeValueExp(java.lang.String attr)
           
 
Method Summary
 ValueExp apply(ObjectName name)
          Apply the QueryExp on an MBean
protected  java.lang.Object getAttribute(ObjectName name)
           
 java.lang.String getAttributeName()
           
 void setMBeanServer(MBeanServer server)
          Sets the MBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValueExp

public AttributeValueExp()

AttributeValueExp

public AttributeValueExp(java.lang.String attr)
Method Detail

getAttributeName

public java.lang.String getAttributeName()

apply

public ValueExp apply(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:
BadStringOperationException
BadAttributeValueExpException
BadBinaryOpValueExpException
InvalidApplicationException

setMBeanServer

public void setMBeanServer(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(ObjectName name)


Copyright © 2001-2002 MX4J Team. All Rights Reserved.