String value = SecurityActions.getSystemProperty("jboss.protocol.handler.modules", "org.jboss.osgi.framework");
if (!value.equals("org.jboss.osgi.framework"))
value = value + "|org.jboss.osgi.framework";
SecurityActions.setSystemProperty("jboss.protocol.handler.modules", value);
Activation policy = subsystemState.getActivationPolicy();
BundleManagerService.addService(target, subsystemState);
FrameworkService.addService(target, subsystemState);
BundleContextService.addService(target, policy);
PackageAdminService.addService(target);
StartLevelService.addService(target);