01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.com
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package org.huihoo.jfox.jmx;
09:
10: import javax.management.MBeanServer;
11: import javax.management.ListenerNotFoundException;
12: import javax.management.relation.MBeanServerNotificationFilter;
13:
14: import org.huihoo.jfox.jmx.interceptor.MBeanServerInterceptorListener;
15:
16: /**
17: * extends MBeanserver can provide extral funtion, ex: getClassLoader , Interceptor
18: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
19: */
20:
21: public interface ExtendedMBeanServer extends MBeanServer {
22:
23: public void registerInterceptor(
24: MBeanServerInterceptorListener interceptor,
25: MBeanServerNotificationFilter filter, Object handback);
26:
27: public void unregisterInterceptor(
28: MBeanServerInterceptorListener interceptor)
29: throws ListenerNotFoundException;
30: // public ExtendedClassLoaderRepository getClassLoaderRepository();
31:
32: }
|