org.norther.tammi.core.base
Class MBeanHandle.ClassQueryExp

java.lang.Object
  extended by org.norther.tammi.core.base.MBeanHandle.ClassQueryExp
All Implemented Interfaces:
Serializable, QueryExp
Enclosing class:
MBeanHandle

public static class MBeanHandle.ClassQueryExp
extends Object
implements QueryExp, Serializable

An inner class for queries of a specific class.

See Also:
Serialized Form

Constructor Summary
MBeanHandle.ClassQueryExp(String c)
          Constructs a new expression.
MBeanHandle.ClassQueryExp(String c, boolean nb)
          Constructs a new expression for a broadcaster.
 
Method Summary
 boolean apply(ObjectName n)
           
protected  String getClassName()
          Gets the class name.
protected  boolean isNotificationBrodcaster()
          Checks whether a notification broadcaster.
 void setMBeanServer(MBeanServer s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanHandle.ClassQueryExp

public MBeanHandle.ClassQueryExp(String c)
Constructs a new expression.

Parameters:
c - the class name.

MBeanHandle.ClassQueryExp

public MBeanHandle.ClassQueryExp(String c,
                                 boolean nb)
Constructs a new expression for a broadcaster.

Parameters:
c - the class name.
nb - true for a notification broadcaster, false otherwise.
Method Detail

setMBeanServer

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

apply

public boolean apply(ObjectName n)
Specified by:
apply in interface QueryExp

getClassName

protected String getClassName()
Gets the class name.

Returns:
the class name.

isNotificationBrodcaster

protected boolean isNotificationBrodcaster()
Checks whether a notification broadcaster.

Returns:
true for a broadcaster, otherwise false.


Copyright © 2004 The Norther Organization. All rights reserved.