javax.management
Class QueryExpSupport
java.lang.Object
|
+--javax.management.QueryExpSupport
- All Implemented Interfaces:
- QueryExp, java.io.Serializable
- public class QueryExpSupport
- extends java.lang.Object
- implements QueryExp
The QueryExpSupport class represents relational constraints that can be used
in database query "where clauses." Instances of QueryExpSupport are returned
by the static methods of the Query class.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIV
public static final int DIV
EQ
public static final int EQ
GE
public static final int GE
GT
public static final int GT
LE
public static final int LE
LT
public static final int LT
MINUS
public static final int MINUS
PLUS
public static final int PLUS
TIMES
public static final int TIMES
MATCH
public static final int MATCH
AND
public static final int AND
OR
public static final int OR
BET
public static final int BET
NOT
public static final int NOT
IN
public static final int IN
INITIAL
public static final int INITIAL
ANY
public static final int ANY
FINAL
public static final int FINAL
QueryExpSupport
public QueryExpSupport()
apply
public boolean apply(ObjectName object)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
- Applies the QueryExp on a MBean.
- Specified by:
apply
in interface QueryExp
- Parameters:
object
- - The name of the MBean on which the QueryExp will be applied.- Returns:
- True if the query was successfully applied to the MBean, false otherwise.
- Throws:
BadStringOperationException
- BadBinaryOpValueExpException
- BadAttributeValueExpException
- InvalidApplicationException
-
setMBeanServer
public void setMBeanServer(MBeanServer server)
- Sets the MBeanServer on which the query is to be accessed.
- Specified by:
setMBeanServer
in interface QueryExp
- Parameters:
server
- - The MBeanServer on which the query is to be accessed.
isQueryFlag
public boolean isQueryFlag()
isValueFlag
public boolean isValueFlag()
getType
public int getType()
getQueryExp1
public QueryExp getQueryExp1()
getQueryExp2
public QueryExp getQueryExp2()
getValueExp1
public ValueExp getValueExp1()
getValueExp2
public ValueExp getValueExp2()
getValueExp3
public ValueExp getValueExp3()
getValueExpArray
public ValueExp[] getValueExpArray()
Copyright ©2003 XMOJO.org. All Rights Reserved.