com.hazelcast.hibernate.instance
Class HazelcastInstanceFactory

java.lang.Object
  extended by com.hazelcast.hibernate.instance.HazelcastInstanceFactory

public final class HazelcastInstanceFactory
extends Object

A factory class to build up implementations of IHazelcastInstanceLoader that returns a HazelcastInstance depending on configuration either backed by Hazelcast client or node implementation.


Method Summary
static HazelcastInstance createInstance(Properties props)
           
static IHazelcastInstanceLoader createInstanceLoader(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public static HazelcastInstance createInstance(Properties props)
                                        throws org.hibernate.cache.CacheException
Throws:
org.hibernate.cache.CacheException

createInstanceLoader

public static IHazelcastInstanceLoader createInstanceLoader(Properties props)
                                                     throws org.hibernate.cache.CacheException
Throws:
org.hibernate.cache.CacheException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.