*/
MBeanServer server = MBeanServerFactory.createMBeanServer();
// create and register socket server factory service
ServerSocketFactoryMBean serverSocketFactoryMBean = createServerSocketFactoryMBean();
String socketFactoryObjName = "test:type=serversocketfactory";
server.registerMBean(serverSocketFactoryMBean, new ObjectName(socketFactoryObjName));
connector = new Connector();
server.registerMBean(connector, new ObjectName("test:type=connector,transport=coyote"));