|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.ValueExpSupport
javax.management.StringValueExp
A String that is an arguement to a query.
Revisions:
20020317 Adrian Brock:
20020711 Adrian Brock:
Constructor Summary | |
StringValueExp()
Construct a string value expression for the null string. |
|
StringValueExp(String value)
Construct a string value expression for the passed string |
Method Summary | |
ValueExp |
apply(ObjectName name)
Apply this value expression to an MBean. |
String |
getString()
Get the value of the string. |
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 StringValueExp()
public StringValueExp(String value)
value
- the stringMethod Detail |
public String getString()
public String toString()
public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
ValueExp
name
- the object name of the mbean
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.
BadStringOperationException
- when an invalid string operation
is used during query construction
BadBinaryOpValueExpException
- when an invalid binary operation
is used during query constructionpublic void setMBeanServer(MBeanServer server)
ValueExp
setMBeanServer
in interface ValueExp
server
- the MBeanServer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |