|
|||||||||
| Home >> All >> javax >> [ management overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.management
Class BetweenQueryExp

java.lang.Objectjavax.management.QueryExpSupport
javax.management.BetweenQueryExp
- All Implemented Interfaces:
- QueryExp, java.io.Serializable
- class BetweenQueryExp
- extends QueryExpSupport
A Between Query Expression.
Returns true only when the test expression is between the lower and upper bounds inclusive.
Revisions:
20020314 Adrian Brock:
- Fix the human readable expression
20020317 Adrian Brock:
- Make queries thread safe
- Version:
- $Revision: 1.3 $
| Field Summary | |
(package private) ValueExp |
lower
The lower bound |
(package private) ValueExp |
test
The value to test |
(package private) ValueExp |
upper
The upper bound |
| Constructor Summary | |
BetweenQueryExp(ValueExp test,
ValueExp lower,
ValueExp upper)
Create a new BETWEEN query Expression |
|
| Method Summary | |
boolean |
apply(ObjectName name)
Apply this query expression to an MBean. |
void |
setMBeanServer(MBeanServer server)
Set the MBeanServer for this query. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
test
ValueExp test
- The value to test
lower
ValueExp lower
- The lower bound
upper
ValueExp upper
- The upper bound
| Constructor Detail |
BetweenQueryExp
public BetweenQueryExp(ValueExp test, ValueExp lower, ValueExp upper)
- Create a new BETWEEN query Expression
| Method Detail |
apply
public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
- Description copied from interface:
QueryExp - Apply this query expression to an MBean.
- Specified by:
applyin interfaceQueryExp- Overrides:
applyin classQueryExpSupport
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
setMBeanServer
public void setMBeanServer(MBeanServer server)
- Description copied from interface:
QueryExp - Set the MBeanServer for this query. Only MBeans registered in
this server can be used in queries.
- Specified by:
setMBeanServerin interfaceQueryExp
|
|||||||||
| Home >> All >> javax >> [ management overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC