org.norther.tammi.spray.filter
Interface FilterMBeanReference

All Superinterfaces:
MBeanReference
All Known Implementing Classes:
FilterMBeanHandle

public interface FilterMBeanReference
extends MBeanReference

An interface to filter references.

Author:
Ilkka Priha

Method Summary
 Filter getFilter()
          Gets the referent of the filter MBean.
 boolean isOpen()
          Checks the open state.
 void setOpen(boolean state)
          Sets the open state.
 
Methods inherited from interface org.norther.tammi.core.base.MBeanReference
get, getClassName, getMBeanServer, getObjectName, isRegistered
 

Method Detail

isOpen

boolean isOpen()
Checks the open state.

Returns:
true if open, false if closed.

setOpen

void setOpen(boolean state)
Sets the open state.

Parameters:
state - true if open, false if closed.

getFilter

Filter getFilter()
Gets the referent of the filter MBean.

Returns:
the referent of the filter MBean or null if not available.


Copyright © 2004 The Norther Organization. All rights reserved.