DsDependencyProcessor dsDependencyProcessor = new DsDependencyProcessor();
addDeploymentProcessor(batchBuilder, dsDependencyProcessor, DsDependencyProcessor.PRIORITY)
.addDependency(ConnectorServices.DATASOURCES_SERVICE, DataSources.class,
dsDependencyProcessor.getDsValueInjector()).setInitialMode(Mode.ACTIVE);
DsDeploymentProcessor dsDeploymentProcessor = new DsDeploymentProcessor();
addDeploymentProcessor(batchBuilder, dsDeploymentProcessor, DsDeploymentProcessor.PRIORITY)
.addDependency(TxnServices.JBOSS_TXN_TRANSACTION_MANAGER,
com.arjuna.ats.jbossatx.jta.TransactionManagerService.class, dsDeploymentProcessor.getTxmInjector())
.addDependency(ConnectorServices.IRONJACAMAR_MDR, MetadataRepository.class, dsDeploymentProcessor.getMdrInjector())
.addDependency(ConnectorServices.RESOURCE_ADAPTER_REGISTRY_SERVICE, ResourceAdapterDeploymentRegistry.class,
dsDeploymentProcessor.getRegistryInjector())
.addDependency(ConnectorServices.JNDI_STRATEGY_SERVICE, JndiStrategy.class,
dsDeploymentProcessor.getJndiInjector())
.addDependency(ConnectorServices.DATASOURCES_SERVICE, DataSources.class,
dsDeploymentProcessor.getDsValueInjector()).setInitialMode(Mode.ACTIVE);
}