|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.StringValueExp
A String that is an arguement to a query.
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 |
getValue()
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 ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
ValueExp
name
- the object name of the mbean
BadBinaryOpValueExpException
- when an invalid binary operation
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
BadAttributeValueExpException
- when an invalid MBean attribute
is used during query constructionpublic String getValue()
public void setMBeanServer(MBeanServer server)
ValueExp
setMBeanServer
in interface ValueExp
server
- the MBeanServerpublic String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |