storeServiceBuilder
.addDependency(TxnServices.JBOSS_TXN_SYNCHRONIZATION_REGISTRY, TransactionSynchronizationRegistry.class, storeService
.getTransactionSynchronizationRegistry());
if (jpaDataSourceNode.isDefined()) {
storeConfig.dataSourceJndiUrl(toJndiName(jpaDataSourceNode.asString()));
storeServiceBuilder
.addDependency(ContextNames.JAVA_CONTEXT_SERVICE_NAME
.append(toJndiName(jpaDataSourceNode.asString()).split("/")));
}