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.NotCompliantMBeanException;
11: import javax.management.ReflectionException;
12:
13: /**
14: *
15: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
16: */
17:
18: public interface MBeanIntrospector {
19:
20: public void checkInstantiate(Class mbeanClass)
21: throws ReflectionException;
22:
23: public Class checkCompliance(Class mbeanClass)
24: throws NotCompliantMBeanException;
25:
26: public boolean isDynamic(Class mbeanClass);
27:
28: public Class getMBeanInterface(Class mbeanClass);
29: /*
30: public Object instantiate(Class mbeanClass) throws ReflectionException, MBeanException;
31:
32: public Object instantiate(Class mbeanClass, Object[] params, Class[] signatures) throws ReflectionException, MBeanException;
33: */
34: }
|