com.sun.mfwk.cms.model.util
Class KeyValueQuery

java.lang.Object
  extended bycom.sun.mfwk.cms.model.util.KeyValueQuery
All Implemented Interfaces:
javax.management.QueryExp, java.io.Serializable

public class KeyValueQuery
extends java.lang.Object
implements javax.management.QueryExp, java.io.Serializable

Query that checks if an object name has a given key and that this key has a given value

See Also:
Serialized Form

Constructor Summary
KeyValueQuery(java.lang.String key, java.lang.String value)
           
 
Method Summary
 boolean apply(javax.management.ObjectName name)
           
 void setMBeanServer(javax.management.MBeanServer s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValueQuery

public KeyValueQuery(java.lang.String key,
                     java.lang.String value)
Method Detail

apply

public boolean apply(javax.management.ObjectName name)
Specified by:
apply in interface javax.management.QueryExp

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer s)
Specified by:
setMBeanServer in interface javax.management.QueryExp