org.jboss.mx.remoting.event
Class CompositeQueryExp
java.lang.Object
org.jboss.mx.remoting.event.CompositeQueryExp
- All Implemented Interfaces:
- Serializable, QueryExp
public class CompositeQueryExp
- extends Object
- implements QueryExp, Serializable
CompositeQueryExp is a composite QueryExp that allows multiple QueryExp implementations to be
chained together (a little easier than trying to use Query class).
- Version:
- $Revision: 81084 $
- Author:
- Jeff Haynie
- See Also:
- Serialized Form
Field Summary |
static int |
AND
|
static int |
OR
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AND
public static final int AND
- See Also:
- Constant Field Values
OR
public static final int OR
- See Also:
- Constant Field Values
CompositeQueryExp
public CompositeQueryExp(QueryExp[] exp)
- create a composite QueryExp with the default AND operator
- Parameters:
exp
-
CompositeQueryExp
public CompositeQueryExp(QueryExp[] exp,
int operator)
apply
public boolean apply(ObjectName objectName)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
- Specified by:
apply
in interface QueryExp
- Throws:
BadStringOperationException
BadBinaryOpValueExpException
BadAttributeValueExpException
InvalidApplicationException
setMBeanServer
public void setMBeanServer(MBeanServer mBeanServer)
- Specified by:
setMBeanServer
in interface QueryExp
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.