create a new mbeanserver instance and register it with the mbeanserverfactory , if desired . concode_field_sep MBeanServer server concode_elem_sep String agentId concode_elem_sep boolean locateExistingServerIfPossible concode_elem_sep Log logger concode_elem_sep boolean registerWithFactory concode_elem_sep String defaultDomain concode_elem_sep boolean newlyRegistered concode_field_sep void setLocateExistingServerIfPossible concode_elem_sep MBeanServer getObject concode_elem_sep void afterPropertiesSet concode_elem_sep Class<? extends MBeanServer> getObjectType concode_elem_sep boolean isSingleton concode_elem_sep void destroy concode_elem_sep void setRegisterWithFactory concode_elem_sep void setDefaultDomain concode_elem_sep MBeanServer locateMBeanServer concode_elem_sep void setAgentId
MBeanServer function ( String arg0 , boolean arg1 ) { if ( arg1 ) { return MBeanServerFactory . createMBeanServer ( arg0 ) ; } else { return MBeanServerFactory . newMBeanServer ( arg0 ) ; } }