This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management
interface QueryExp

All Superinterfaces:
Serializable
All Known Implementing Classes:
ObjectName

public interface QueryExp
extends Serializable

Represents relational constraints that can be used in database query "where clauses". Instances of QueryExp are returned by the static methods of the {@link Query} class.

It is possible, but not recommended, to create custom queries by implementing this interface. In that case, it is better to extend the {@link QueryEval} class than to implement the interface directly, so that the {@link #setMBeanServer} method works correctly.


Method Summary
 boolean

          Applies the QueryExp on an MBean.
 void

          Sets the MBean server on which the query is to be performed.
 

Method Detail

apply

public boolean apply(ObjectName name)
              throws BadStringOperationException,
                     BadBinaryOpValueExpException,
                     BadAttributeValueExpException,
                     InvalidApplicationException
Applies the QueryExp on an MBean.

Parameters:
name - 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 s)
Sets the MBean server on which the query is to be performed.

Parameters:
s - The MBean server on which the query is to be performed.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.