1 /* 2 * Copyright (C) MX4J. 3 * All rights reserved. 4 * 5 * This software is distributed under the terms of the MX4J License version 1.0. 6 * See the terms of the MX4J License in the documentation provided with this software. 7 */ 8 9 package mx4j.server.interceptor; 10 11 /** 12 * Management interface for the DefaultMBeanServerInterceptor MBean 13 * @author <a HREF="mailto:biorn_steedom@users.sourceforge.net">Simone Bordet</a> 14 * @version $Revision: 1.4 $ 15 */ 16 public interface DefaultMBeanServerInterceptorMBean 17 { 18 /** 19 * Returns whether this interceptor is enabled 20 * @see #setEnabled 21 */ 22 public boolean isEnabled(); 23 24 /** 25 * Enables or disables this interceptor 26 * @see #isEnabled 27 */ 28 public void setEnabled(boolean enabled); 29 30 /** 31 * Returns the type of this interceptor 32 */ 33 public String getType(); 34 } 35