javax.management
Class StringValueExp
java.lang.Object
|
+--javax.management.StringValueExp
- All Implemented Interfaces:
- java.io.Serializable, ValueExp
- public class StringValueExp
- 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 |
java.lang.String |
getValue()
|
void |
setMBeanServer(javax.management.MBeanServer server)
Sets the MBeanServer |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringValueExp
public StringValueExp()
StringValueExp
public StringValueExp(java.lang.String value)
getValue
public java.lang.String getValue()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object