mbean = new RemotingJMXWrapper(locator);
mbeanServer.registerMBean(mbean, objectName);
mbeanServer.invoke(objectName, "start", new Object[0], new String[0]);
ServerInvocationHandler handler = new JMSServerInvocationHandler();
mbeanServer.invoke(objectName, "addInvocationHandler",
new Object[] { ServerPeer.REMOTING_JMS_SUBSYSTEM, handler},
new String[] { "java.lang.String",
"org.jboss.remoting.ServerInvocationHandler"});