return new JBossStandAloneJtaPlatform();
}
//TODO OGM-370 get rid of this!!!
private boolean isNeo4j(Map configuration, ClassLoaderService classLoaderService) {
DatastoreProvider configuredProvider = new ConfigurationPropertyReader( configuration, classLoaderService )
.property( OgmProperties.DATASTORE_PROVIDER, DatastoreProvider.class )
.instantiate()
.withShortNameResolver( new DatastoreProviderInitiator.DatastoreProviderShortNameResolver() )
.getValue();
return configuredProvider != null &&
configuredProvider.getClass().getName().equals(
AvailableDatastoreProvider.NEO4J_EMBEDDED.getDatastoreProviderClassName() );
}