*/
private void tryBoot(String configurationResourceName) {
Configuration cfg = new OgmConfiguration();
cfg.setProperty( OgmProperties.DATASTORE_PROVIDER, "infinispan" );
cfg.setProperty( InfinispanProperties.CONFIGURATION_RESOURCE_NAME, configurationResourceName );
SessionFactory sessionFactory = cfg.buildSessionFactory();
if ( sessionFactory != null ) {
try {
// trigger service initialization, and also verifies it actually uses Infinispan:
InfinispanTestHelper.getProvider( sessionFactory );
}