wmService.getExecutorLongInjector())
.addDependency(TxnServices.JBOSS_TXN_XA_TERMINATOR, JBossXATerminator.class,
wmService.getXaTerminatorInjector()).setInitialMode(Mode.ACTIVE).install();
CloneableBootstrapContext ctx = new BaseCloneableBootstrapContext();
final DefaultBootStrapContextService defaultBootCtxService = new DefaultBootStrapContextService(ctx);
serviceTarget
.addService(ConnectorServices.DEFAULT_BOOTSTRAP_CONTEXT_SERVICE, defaultBootCtxService)
.addDependency(ConnectorServices.WORKMANAGER_SERVICE, WorkManager.class,
defaultBootCtxService.getWorkManagerValueInjector())
.addDependency(TxnServices.JBOSS_TXN_XA_TERMINATOR, JBossXATerminator.class,
defaultBootCtxService.getXaTerminatorInjector())
.addDependency(TxnServices.JBOSS_TXN_ARJUNA_TRANSACTION_MANAGER,
com.arjuna.ats.jbossatx.jta.TransactionManagerService.class,
defaultBootCtxService.getTxManagerInjector()).setInitialMode(Mode.ACTIVE).install();
final ConnectorSubsystemConfiguration config = new ConnectorSubsystemConfiguration();
config.setArchiveValidation(archiveValidationEnabled);
config.setArchiveValidationFailOnError(failOnError);
config.setArchiveValidationFailOnWarn(failOnWarn);