|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hazelcast.hibernate.instance.HazelcastAccessor
public abstract class HazelcastAccessor
Access underlying HazelcastInstance using Hibernate SessionFactory
Method Summary | |
---|---|
static HazelcastInstance |
getHazelcastInstance(Session session)
Tries to extract HazelcastInstance from Session . |
static HazelcastInstance |
getHazelcastInstance(SessionFactory sessionFactory)
Tries to extract HazelcastInstance from SessionFactory . |
static HazelcastInstance |
getHazelcastInstance(SessionFactoryImplementor sessionFactory)
Tries to extract HazelcastInstance from SessionFactoryImplementor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HazelcastInstance getHazelcastInstance(Session session)
HazelcastInstance
from Session
.
session
-
HazelcastInstance
or null if an error occurs.public static HazelcastInstance getHazelcastInstance(SessionFactory sessionFactory)
HazelcastInstance
from SessionFactory
.
sessionFactory
-
HazelcastInstance
or null if an error occurs.public static HazelcastInstance getHazelcastInstance(SessionFactoryImplementor sessionFactory)
HazelcastInstance
from SessionFactoryImplementor
.
sessionFactory
-
HazelcastInstance
or null if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |