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
|
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)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
queryFlag
boolean queryFlag
valueFlag
boolean valueFlag
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)
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.