01: package org.objectweb.celtix.bus.management.jmx;
02:
03: import javax.management.MBeanServer;
04:
05: import org.objectweb.celtix.BusEvent;
06:
07: /**
08: * An event indicating that an external MBean server must be
09: * registered with the <code>Bus</code>.
10: * This event identifies the external MBean server that must be registered.
11: */
12: public class MBeanServerEvent extends BusEvent {
13:
14: /**
15: * Constant representing the MBeanServer Bus Event ID.
16: */
17: public static final String MBEAN_SERVER_EVENT = "org.objectweb.celtix.mbean.server.event";
18:
19: /**
20: * Constructs an <code>MBeanServerEvent</code> object.
21: * @param server The external <code>MBeanServer</code> to be registered.
22: */
23: public MBeanServerEvent(MBeanServer server) {
24: super(server, MBEAN_SERVER_EVENT);
25: }
26: }
|