Package org.hibernate.ogm.datastore.infinispan.impl

Examples of org.hibernate.ogm.datastore.infinispan.impl.InfinispanDatastoreProvider.configure()


    Map<String, Object> configurationValues = new HashMap<String, Object>();
    configurationValues.put( InfinispanProperties.CONFIGURATION_RESOURCE_NAME, "infinispan-dist-duplicate-domains-allowed.xml" );
    ServiceRegistryImplementor serviceRegistry = getServiceRegistry();

    InfinispanDatastoreProvider provider = new InfinispanDatastoreProvider();
    provider.configure( configurationValues );
    provider.injectServices( serviceRegistry );
    provider.start();

    return provider;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.