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.service;
09:
10: import java.lang.reflect.Proxy;
11:
12: import javax.management.ObjectName;
13:
14: /**
15: *
16: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
17: */
18:
19: public interface ComponentSupportMBean extends Component {
20: /**
21: * get the ObjectName of the Service, if not registered in MBeanServer, will return null
22: * the ObjectName maybe signed in the MLet Config file
23: */
24: ObjectName getObjectName();
25:
26: /**
27: * get proxy instance
28: */
29: Proxy getProxyInstance();
30:
31: }
|