public void handleManagerCreation() throws ManagementException {
  if (!isServiceInitialised("handleManagerCreation")) {
    return;
  }
  ObjectName managerMBeanName=MBeanJMXAdapter.getManagerName();
  ManagerMBeanBridge bridge=new ManagerMBeanBridge(service);
  ManagerMXBean bean=new ManagerMBean(bridge);
  service.registerInternalMBean(bean,managerMBeanName);
}

public void handleManagerCreation ( ) throws ManagementException { if ( ! isServiceInitialised ( "handleManagerCreation" ) ) { return ; } ObjectName managerMBeanName = MBeanJMXAdapter . getManagerName ( ) ; ManagerMBeanBridge bridge = new ManagerMBeanBridge ( service ) ; ManagerMXBean bean = new ManagerMBean ( bridge ) ; service . registerInternalMBean ( bean , managerMBeanName ) ; }
assumption is always cache and membermbean has been will be created first
