ObjectName objectName = managementContext.createCustomComponentMBeanName(InstallerMBean.class.getName(), name);
ObjectName objectName = managementContext.createCustomComponentMBeanName("Installer", name);
    public ObjectName loadInstaller(String aComponentName) {        InstallerMBeanImpl installer = (InstallerMBeanImpl) installers.get(aComponentName);        if (installer == null) {            LocalComponentConnector cnn = container.getLocalComponentConnector(aComponentName);            if (cnn == null) {                throw new RuntimeException("Could not find Component : " + aComponentName);            }            try {                ComponentContextImpl context = cnn.getContext();                File installationDir = environmentContext.getInstallationDirectory(aComponentName);                Descriptor root = AutoDeploymentService.buildDescriptor(installationDir);                Component descriptor = root.getComponent();                String name = descriptor.getIdentification().getName();                InstallationContextImpl installationContext = new InstallationContextImpl();                installationContext.setInstall(false);                installationContext.setComponentName(name);                installationContext.setComponentDescription(descriptor.getIdentification().getDescription());                installationContext.setInstallRoot(installationDir);                installationContext.setComponentClassName(descriptor.getComponentClassName());                ClassPath cp = descriptor.getComponentClassPath();                if (cp != null) {                    installationContext.setClassPathElements(cp.getPathElements());                }                // now build the ComponentContext                installationContext.setContext(context);                InstallationDescriptorExtension desc = descriptor.getDescriptorExtension();                if (desc != null) {                    installationContext.setDescriptorExtension(desc.getDescriptorExtension());                }                installationContext.setBinding(descriptor.isBindingComponent());                installationContext.setEngine(descriptor.isServiceEngine());                // now we must initialize the boot strap class                String bootstrapClassName = descriptor.getBootstrapClassName();                ClassPath bootStrapClassPath = descriptor.getBootstrapClassPath();                InstallationClassLoader bootstrapLoader = null;                if (bootstrapClassName != null && bootstrapClassName.length() > 0) {                    boolean parentFirst = descriptor.isBootstrapClassLoaderDelegationParentFirst();                    bootstrapLoader = classLoaderService.buildClassLoader(                            installationDir, bootStrapClassPath.getPathElements(), parentFirst);                }                SharedLibraryList[] lists = descriptor.getSharedLibraries();                String componentClassName = descriptor.getComponentClassName();                ClassPath componentClassPath = descriptor.getComponentClassPath();                boolean parentFirst = descriptor.isComponentClassLoaderDelegationParentFirst();                ClassLoader componentClassLoader = classLoaderService.buildClassLoader(installationDir, componentClassPath                                .getPathElements(), parentFirst, lists);                installer = new InstallerMBeanImpl(container,                        installationContext, componentClassLoader,                        componentClassName, bootstrapLoader,                        bootstrapClassName, true);                // create an MBean for the installer                ObjectName objectName = managementContext.createCustomComponentMBeanName(InstallerMBean.class.getName(), name);                installer.setObjectName(objectName);                managementContext.registerMBean(objectName, installer,                        InstallerMBean.class,                        "standard installation controls for a Component");            } catch (Exception e) {                throw new RuntimeException("Could not load installer", e);            }        }        ObjectName result = installer.getObjectName();        return result;    }