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.MBeanServerDelegate;
11: import javax.management.ObjectName;
12:
13: /**
14: *
15: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
16: */
17:
18: public class ExtendedMBeanServerDelegate extends MBeanServerDelegate {
19:
20: public void sendNotification(String type, ObjectName objectName,
21: String operationName, Object[] params) {
22: ExtendedMBeanServerNotification notification = new ExtendedMBeanServerNotification(
23: type, delegateObjectName, sequence++, objectName,
24: operationName, params);
25: this .sendNotification(notification);
26: }
27:
28: public static ObjectName getObjectName() {
29: return delegateObjectName;
30: }
31:
32: }
|