01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.server.interceptor;
10:
11: /**
12: * Management interface for the DefaultMBeanServerInterceptor MBean
13: *
14: * @version $Revision: 1.6 $
15: */
16: public interface DefaultMBeanServerInterceptorMBean {
17: /**
18: * Returns whether this interceptor is enabled
19: *
20: * @see #setEnabled
21: */
22: public boolean isEnabled();
23:
24: /**
25: * Enables or disables this interceptor
26: *
27: * @see #isEnabled
28: */
29: public void setEnabled(boolean enabled);
30:
31: /**
32: * Returns the type of this interceptor
33: */
34: public String getType();
35: }
|