usingDefaultWm = true;
}
ServiceTarget serviceTarget = context.getServiceTarget();
CloneableBootstrapContext ctx = new NamedBootstrapContext(name);
final BootStrapContextService bootCtxService = new BootStrapContextService(ctx, name, usingDefaultWm);
newControllers.add(serviceTarget
.addService(ConnectorServices.BOOTSTRAP_CONTEXT_SERVICE.append(name), bootCtxService)
.addDependency(ServiceBuilder.DependencyType.OPTIONAL, ConnectorServices.WORKMANAGER_SERVICE.append(workmanager), WorkManager.class, bootCtxService.getWorkManagerValueInjector())
.addDependency(TxnServices.JBOSS_TXN_XA_TERMINATOR, JBossXATerminator.class, bootCtxService.getXaTerminatorInjector())