javax.management
Interface ValueExp

All Superinterfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable
All Known Implementing Classes:
AttributeValueExp sample code for javax.management.AttributeValueExp definition code for javax.management.AttributeValueExp , StringValueExp sample code for javax.management.StringValueExp definition code for javax.management.StringValueExp

public interface ValueExp
extends Serializable sample code for java.io.Serializable definition code for java.io.Serializable

Represents values that can be passed as arguments to relational expressions. Strings, numbers, attributes are valid values and should be represented by implementations of ValueExp.

Since:
1.5

Method Summary
 ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp apply sample code for javax.management.ValueExp.apply(javax.management.ObjectName) definition code for javax.management.ValueExp.apply(javax.management.ObjectName) (ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name)
          Applies the ValueExp on a MBean.
 void setMBeanServer sample code for javax.management.ValueExp.setMBeanServer(javax.management.MBeanServer) definition code for javax.management.ValueExp.setMBeanServer(javax.management.MBeanServer) (MBeanServer sample code for javax.management.MBeanServer definition code for javax.management.MBeanServer  s)
          Deprecated. This method is not needed because a ValueExp can access the MBean server in which it is being evaluated by using QueryEval.getMBeanServer() sample code for javax.management.QueryEval.getMBeanServer() definition code for javax.management.QueryEval.getMBeanServer() .
 

Method Detail

apply sample code for javax.management.ValueExp.apply(javax.management.ObjectName) definition code for javax.management.ValueExp.apply(javax.management.ObjectName)

ValueExp sample code for javax.management.ValueExp definition code for javax.management.ValueExp  apply(ObjectName sample code for javax.management.ObjectName definition code for javax.management.ObjectName  name)
               throws BadStringOperationException sample code for javax.management.BadStringOperationException definition code for javax.management.BadStringOperationException ,
                      BadBinaryOpValueExpException sample code for javax.management.BadBinaryOpValueExpException definition code for javax.management.BadBinaryOpValueExpException ,
                      BadAttributeValueExpException sample code for javax.management.BadAttributeValueExpException definition code for javax.management.BadAttributeValueExpException ,
                      InvalidApplicationException sample code for javax.management.InvalidApplicationException definition code for javax.management.InvalidApplicationException 
Applies the ValueExp on a MBean.

Parameters:
name - The name of the MBean on which the ValueExp will be applied.
Returns:
The ValueExp.
Throws:
BadStringOperationException sample code for javax.management.BadStringOperationException definition code for javax.management.BadStringOperationException
BadBinaryOpValueExpException sample code for javax.management.BadBinaryOpValueExpException definition code for javax.management.BadBinaryOpValueExpException
BadAttributeValueExpException sample code for javax.management.BadAttributeValueExpException definition code for javax.management.BadAttributeValueExpException
InvalidApplicationException sample code for javax.management.InvalidApplicationException definition code for javax.management.InvalidApplicationException

setMBeanServer sample code for javax.management.ValueExp.setMBeanServer(javax.management.MBeanServer) definition code for javax.management.ValueExp.setMBeanServer(javax.management.MBeanServer)

@Deprecated
void setMBeanServer(MBeanServer sample code for javax.management.MBeanServer definition code for javax.management.MBeanServer  s)
Deprecated. This method is not needed because a ValueExp can access the MBean server in which it is being evaluated by using QueryEval.getMBeanServer() sample code for javax.management.QueryEval.getMBeanServer() definition code for javax.management.QueryEval.getMBeanServer() .

Sets the MBean server on which the query is to be performed.

Parameters:
s - The MBean server on which the query is to be performed.