}
private InstallerMBeanImpl createInstaller(String componentName) throws IOException, DeploymentException {
File installationDir = environmentContext.getComponentInstallationDir(componentName);
Descriptor root = DescriptorFactory.buildDescriptor(installationDir);
Component descriptor = root.getComponent();
InstallationContextImpl installationContext = new InstallationContextImpl(descriptor);
installationContext.setInstall(false);
installationContext.setInstallRoot(installationDir);
// now build the ComponentContext