new ObjectName(MBEAN_SERVER_DELEGATE),
valueMap
);
// We expose the registry as an MBean for other components
RequiredModelMBean rmm = new RequiredModelMBean();
rmm.setModelMBeanInfo(getRegistryManagementInterface());
rmm.setManagedResource(registry, "ObjectReference");
// register the registry MBean
registry.registerMBean(rmm, new ObjectName(MBEAN_REGISTRY), valueMap);
// expose the log manager as an MBean
LogManager logManager = new SystemLogManager();
// create the management interface
RequiredModelMBean logMBean = new RequiredModelMBean();
logMBean.setModelMBeanInfo(getLogManagerManagementInterface());
logMBean.setManagedResource(logManager, ModelMBeanConstants.OBJECT_REF);
// register log manager
registry.registerMBean(logMBean, new ObjectName(SYSTEM_LOG_MANAGER), valueMap);
// register the loader repository