// Configure the ObjectStoreEnvironmentBeans
RelativePathService.addService(INTERNAL_OBJECTSTORE_PATH, objectStorePath, true, objectStorePathRef, target, controllers, verificationHandler);
final boolean useHornetqJournalStore = "true".equals(System.getProperty("usehornetqstore")); // TODO wire to domain model instead.
final ArjunaObjectStoreEnvironmentService objStoreEnvironmentService = new ArjunaObjectStoreEnvironmentService(useHornetqJournalStore);
controllers.add(target.addService(TxnServices.JBOSS_TXN_ARJUNA_OBJECTSTORE_ENVIRONMENT, objStoreEnvironmentService)
.addDependency(INTERNAL_OBJECTSTORE_PATH, String.class, objStoreEnvironmentService.getPathInjector())
.addDependency(TxnServices.JBOSS_TXN_CORE_ENVIRONMENT)
.addListener(verificationHandler).setInitialMode(ServiceController.Mode.ACTIVE).install());
controllers.add(TransactionManagerService.addService(target, verificationHandler));
controllers.add(UserTransactionService.addService(target, verificationHandler));