Hazelcast.getHazelcastInstanceByName(String instanceName)
instead@Deprecated public final class HazelcastAccessor extends Object
Modifier and Type | Method and Description |
---|---|
static HazelcastInstance |
getHazelcastInstance(org.hibernate.Session session)
Deprecated.
Tries to extract
HazelcastInstance from Session . |
static HazelcastInstance |
getHazelcastInstance(org.hibernate.SessionFactory sessionFactory)
Deprecated.
Tries to extract
HazelcastInstance from SessionFactory . |
static HazelcastInstance |
getHazelcastInstance(SessionFactoryImplementor sessionFactory)
Deprecated.
Tries to extract
HazelcastInstance from SessionFactoryImplementor . |
public static HazelcastInstance getHazelcastInstance(org.hibernate.Session session)
HazelcastInstance
from Session
.session
- HazelcastInstance
or null if an error occurs.public static HazelcastInstance getHazelcastInstance(org.hibernate.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.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.