|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryExp
Applies the type of relational constraints seen in the
where
clauses of databases to an
ObjectName
. Instances of this class are usually
returned by the static methods of the Query
classes.
If a custom implementation is required, it is better to
extend the QueryEval
class, rather than simply
implementing this interface, in order to ensure that
the setMBeanServer(MBeanServer)
method functions
correctly.
Method Summary | |
---|---|
boolean |
apply(ObjectName name)
Applies the query to the specified management bean. |
void |
setMBeanServer(MBeanServer server)
Changes the MBeanServer on which this query is performed. |
Method Detail |
---|
boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
name
- the name of the management bean.
BadStringOperationException
- if an invalid string
operation is used by
the query.
BadBinaryOpValueExpException
- if an invalid expression
is used by the query.
BadAttributeValueExpException
- if an invalid attribute
is used by the query.
InvalidApplicationException
- if the query is applied
to the wrong type of bean.void setMBeanServer(MBeanServer server)
MBeanServer
on which this query is performed.
server
- the new server to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |