if (cp != null) {
installationContext.setClassPathElements(cp.getPathElements());
}
// now build the ComponentContext
installationContext.setContext(buildComponentContext(name));
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();