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

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

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

Query that checks if the given key is present, no matter the value (however, the value has to be not null)

See Also:
Serialized Form

Constructor Summary
HasKeyQuery(java.lang.String key)
           
 
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

HasKeyQuery

public HasKeyQuery(java.lang.String key)
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