| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryExp
A query expression.
An implementation of this interface can be used in a query. Multiple query expressions can be used together to form a more complex query.
| Method Summary | |
|---|---|
|  boolean | apply(ObjectName name)Apply this query expression to an MBean. | 
|  void | setMBeanServer(MBeanServer server)Set the MBeanServer for this query. | 
| Method Detail | 
|---|
boolean apply(ObjectName name)
              throws BadStringOperationException,
                     BadBinaryOpValueExpException,
                     BadAttributeValueExpException,
                     InvalidApplicationException
name - the object name of the mbean
BadStringOperationException - when an invalid string operation
            is used during query construction
BadBinaryOpValueExpException - when an invalid binary operation
            is used during query construction
BadAttributeValueExpException - when an invalid MBean attribute
            is used during query construction
InvalidApplicationException - when trying to apply a subquery
            expression to an MBean or an attribute expression to an
            MBean of the wrong class.void setMBeanServer(MBeanServer server)
server - the MBeanServer| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||