|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.management.StringValueExp
public class StringValueExp
Represents a string being used as an argument to a relational constraint.
| Constructor Summary | |
|---|---|
StringValueExp()
Constructs a new StringValueExp. |
|
StringValueExp(String val)
Constructs a new StringValueExp using the
specified value. |
|
| Method Summary | |
|---|---|
ValueExp |
apply(ObjectName name)
Applies the StringValueExp to the specified
management bean by simply returning the value. |
String |
getValue()
Returns the value. |
void |
setMBeanServer(MBeanServer server)
Sets the MBeanServer on which the query
will be performed. |
String |
toString()
Returns the value in quotes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringValueExp()
StringValueExp.
public StringValueExp(String val)
StringValueExp using the
specified value.
val - the string value used for this expression.| Method Detail |
|---|
public ValueExp apply(ObjectName name)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
StringValueExp to the specified
management bean by simply returning the value.
apply in interface ValueExpname - the ObjectName of the bean.
StringValueExp itself.
BadStringOperationException - if an invalid string
operation is used by
the value expression.
BadBinaryOpValueExpException - if an invalid expression
is used by the value expression.
BadAttributeValueExpException - if an invalid attribute
is used by the value expression.
InvalidApplicationException - if the value expression is applied
to the wrong type of bean.public String getValue()
public void setMBeanServer(MBeanServer server)
MBeanServer on which the query
will be performed.
setMBeanServer in interface ValueExpserver - the new server.public String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||