javax.management
Class QueryExpSupport

java.lang.Object
  |
  +--javax.management.QueryExpSupport

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

Field Summary
(package private)  boolean queryFlag
           
(package private)  boolean valueFlag
           
 
Constructor Summary
  QueryExpSupport()
           
(package private) QueryExpSupport(QueryExp q1, int type)
           
(package private) QueryExpSupport(QueryExp q1, QueryExp q2, int type)
           
(package private) QueryExpSupport(ValueExp v1, ValueExp[] list, int type)
           
(package private) QueryExpSupport(ValueExp v1, ValueExp v2, int type)
           
(package private) QueryExpSupport(ValueExp v1, ValueExp v2, ValueExp v3, int type)
           
 
Method Summary
 boolean apply(ObjectName object)
          Applies the QueryExp on a MBean.
 void setMBeanServer(MBeanServer server)
          Sets the MBeanServer on which the query is to be accessed.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queryFlag

boolean queryFlag

valueFlag

boolean valueFlag
Constructor Detail

QueryExpSupport

public QueryExpSupport()

QueryExpSupport

QueryExpSupport(QueryExp q1,
                QueryExp q2,
                int type)

QueryExpSupport

QueryExpSupport(QueryExp q1,
                int type)

QueryExpSupport

QueryExpSupport(ValueExp v1,
                ValueExp v2,
                int type)

QueryExpSupport

QueryExpSupport(ValueExp v1,
                ValueExp v2,
                ValueExp v3,
                int type)

QueryExpSupport

QueryExpSupport(ValueExp v1,
                ValueExp[] list,
                int type)
Method Detail

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.