|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SessionFactory | |
---|---|
org.springframework.orm.toplink | Package providing integration of Oracle TopLink with Spring concepts. |
org.springframework.orm.toplink.support | Classes supporting the org.springframework.orm.toplink package. |
Uses of SessionFactory in org.springframework.orm.toplink |
---|
Classes in org.springframework.orm.toplink that implement SessionFactory | |
---|---|
class |
AbstractSessionFactory
Abstract SessionFactory implementation that creates proxies for "managed" client Sessions and transaction-aware Session references. |
class |
ServerSessionFactory
Full-fledged default implementation of the SessionFactory interface: creates ClientSessions for a given ServerSession. |
class |
SessionBrokerSessionFactory
Spring SessionFactory implementation allowing users to inject a TopLink Session built from a TopLink SessionBroker. |
class |
SingleSessionFactory
Simple implementation of the SessionFactory interface: always returns the passed-in Session as-is. |
Methods in org.springframework.orm.toplink that return SessionFactory | |
---|---|
SessionFactory |
LocalSessionFactory.createSessionFactory()
Create a TopLink SessionFactory according to the configuration settings. |
SessionFactory |
TopLinkTransactionManager.getSessionFactory()
Return the SessionFactory that this instance should manage transactions for. |
SessionFactory |
TopLinkAccessor.getSessionFactory()
Return the TopLink SessionFactory that should be used to create TopLink Sessions. |
protected SessionFactory |
LocalSessionFactory.newSessionFactory(oracle.toplink.sessions.DatabaseSession session)
Create a new SessionFactory for the given TopLink DatabaseSession. |
Methods in org.springframework.orm.toplink with parameters of type SessionFactory | |
---|---|
oracle.toplink.sessions.Session |
AbstractSessionFactory.createTransactionAwareSession(SessionFactory sessionFactory)
Create a transaction-aware Session reference for this factory's master Session, expecting transactions to be registered for the given SessionFactory. |
static oracle.toplink.sessions.Session |
SessionFactoryUtils.doGetSession(SessionFactory sessionFactory,
boolean allowCreate)
Get a TopLink Session for the given SessionFactory. |
static oracle.toplink.sessions.Session |
SessionFactoryUtils.getSession(SessionFactory sessionFactory,
boolean allowCreate)
Get a TopLink Session for the given SessionFactory. |
static boolean |
SessionFactoryUtils.isSessionTransactional(oracle.toplink.sessions.Session session,
SessionFactory sessionFactory)
Return whether the given TopLink Session is transactional, that is, bound to the current thread by Spring's transaction facilities. |
static void |
SessionFactoryUtils.releaseSession(oracle.toplink.sessions.Session session,
SessionFactory sessionFactory)
Close the given Session, created via the given factory, if it is not managed externally (i.e. not bound to the thread). |
void |
TopLinkTransactionManager.setSessionFactory(SessionFactory sessionFactory)
Set the the TopLink SessionFactory to manage transactions for. |
void |
TopLinkAccessor.setSessionFactory(SessionFactory sessionFactory)
Set the the TopLink SessionFactory that should be used to create TopLink Sessions. |
Constructors in org.springframework.orm.toplink with parameters of type SessionFactory | |
---|---|
TopLinkTemplate(SessionFactory sessionFactory)
Create a new TopLinkTemplate instance. |
|
TopLinkTemplate(SessionFactory sessionFactory,
boolean allowCreate)
Create a new TopLinkTemplate instance. |
|
TopLinkTransactionManager(SessionFactory sessionFactory)
Create a new TopLinkTransactionManager instance. |
Uses of SessionFactory in org.springframework.orm.toplink.support |
---|
Methods in org.springframework.orm.toplink.support that return SessionFactory | |
---|---|
SessionFactory |
TopLinkDaoSupport.getSessionFactory()
Return the TopLink SessionFactory used by this DAO. |
Methods in org.springframework.orm.toplink.support with parameters of type SessionFactory | |
---|---|
protected TopLinkTemplate |
TopLinkDaoSupport.createTopLinkTemplate(SessionFactory sessionFactory)
Create a TopLinkTemplate for the given SessionFactory. |
void |
TransactionAwareSessionAdapter.setSessionFactory(SessionFactory sessionFactory)
Set the SessionFactory that this adapter is supposed to expose a transaction-aware TopLink Session for. |
void |
TopLinkDaoSupport.setSessionFactory(SessionFactory sessionFactory)
Set the TopLink SessionFactory to be used by this DAO. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |