Uses of Interface org.hibernate.SessionFactory (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.hibernate.SessionFactory

Packages that use SessionFactory
org.hibernate | This package defines the central Hibernate APIs.
org.hibernate.cache.ehcache.management.impl |
org.hibernate.cfg | This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
org.hibernate.context.internal |
org.hibernate.ejb |
org.hibernate.engine.spi |
org.hibernate.internal | An internal package containing mostly implementations of central Hibernate APIs.
org.hibernate.jmx | This package exposes a Hibernate instance via JMX.
org.hibernate.metamodel | NOTE: This package is currently unfinished and therefore considered experimental and unsupported.
org.hibernate.metamodel.source.internal |

Uses of SessionFactory in org.hibernate

Methods in org.hibernate that return SessionFactory
`SessionFactory` | `Session.getSessionFactory()` Get the session factory which created this session.

Methods in org.hibernate with parameters of type SessionFactory
`void` | `SessionFactoryObserver.sessionFactoryClosed(SessionFactory factory)` Callback to indicate that the given factory has been closed.
`void` | `SessionFactoryObserver.sessionFactoryCreated(SessionFactory factory)` Callback to indicate that the given factory has been created and is now ready for use.

Uses of SessionFactory in org.hibernate.cache.ehcache.management.impl

Methods in org.hibernate.cache.ehcache.management.impl with parameters of type SessionFactory
`void` | `EhcacheHibernate.enableHibernateStatistics(SessionFactory sessionFactory)` Enable hibernate statistics with the input session factory
`void` | `EhcacheHibernateMBeanRegistrationImpl.enableHibernateStatisticsSupport(SessionFactory sessionFactory)` Enable hibernate statistics in the mbean.
`void` | `EhcacheHibernateMBeanRegistration.enableHibernateStatisticsSupport(SessionFactory sessionFactory)` Enable hibernate statistics in the mbean.

Constructors in org.hibernate.cache.ehcache.management.impl with parameters of type SessionFactory
`HibernateStatsImpl(SessionFactory sessionFactory)` Constructor accepting the backing `SessionFactory`

Uses of SessionFactory in org.hibernate.cfg

Methods in org.hibernate.cfg that return SessionFactory
`SessionFactory` | `Configuration.buildSessionFactory()` Deprecated. Use `Configuration.buildSessionFactory(ServiceRegistry)` instead
`SessionFactory` | `Configuration.buildSessionFactory(ServiceRegistry serviceRegistry)` Create a `SessionFactory` using the properties and mappings in this configuration.

Uses of SessionFactory in org.hibernate.context.internal

Fields in org.hibernate.context.internal declared as SessionFactory
`protected SessionFactory` | `ThreadLocalSessionContext.CleanupSynch.factory`

Methods in org.hibernate.context.internal that return types with arguments of type SessionFactory
`protected static Map<SessionFactory,Session>` | `ManagedSessionContext.sessionMap()`

Methods in org.hibernate.context.internal with parameters of type SessionFactory
`static boolean` | `ManagedSessionContext.hasBind(SessionFactory factory)` Check to see if there is already a session associated with the current thread for the given session factory.
`static Session` | `ThreadLocalSessionContext.unbind(SessionFactory factory)` Disassociates a previously bound session from the current thread of execution.
`static Session` | `ManagedSessionContext.unbind(SessionFactory factory)` Unbinds the session (if one) current associated with the context for the given session.

Constructors in org.hibernate.context.internal with parameters of type SessionFactory
`ThreadLocalSessionContext.CleanupSynch(SessionFactory factory)`

Uses of SessionFactory in org.hibernate.ejb

Methods in org.hibernate.ejb that return SessionFactory
`SessionFactory` | `HibernateEntityManagerFactory.getSessionFactory()`
`SessionFactory` | `EntityManagerFactoryImpl.getSessionFactory()`

Uses of SessionFactory in org.hibernate.engine.spi

Subinterfaces of SessionFactory in org.hibernate.engine.spi
`interface` | `SessionFactoryImplementor` Defines the internal contract between the `SessionFactory` and other parts of Hibernate such as implementors of `Type`.

Uses of SessionFactory in org.hibernate.internal

Classes in org.hibernate.internal that implement SessionFactory
`class` | `SessionFactoryImpl` Concrete implementation of the `SessionFactory` interface.

Methods in org.hibernate.internal that return SessionFactory
`SessionFactory` | `SessionFactoryRegistry.getNamedSessionFactory(String name)`
`SessionFactory` | `SessionFactoryRegistry.getSessionFactory(String uuid)`

Methods in org.hibernate.internal with parameters of type SessionFactory
`void` | `SessionFactoryRegistry.addSessionFactory(String uuid, String name, boolean isNameAlsoJndiName, SessionFactory instance, JndiService jndiService)`
`void` | `SessionFactoryObserverChain.sessionFactoryClosed(SessionFactory factory)`
`void` | `SessionFactoryObserverChain.sessionFactoryCreated(SessionFactory factory)`

Uses of SessionFactory in org.hibernate.jmx

Classes in org.hibernate.jmx that implement SessionFactory
`class` | `SessionFactoryStub` Deprecated. See HHH-6190 for details

Methods in org.hibernate.jmx with parameters of type SessionFactory
`void` | `StatisticsService.setSessionFactory(SessionFactory sf)` Deprecated. Useful to init this MBean wo a JNDI session factory name

Uses of SessionFactory in org.hibernate.metamodel

Methods in org.hibernate.metamodel that return SessionFactory
`SessionFactory` | `Metadata.buildSessionFactory()`
`SessionFactory` | `SessionFactoryBuilder.buildSessionFactory()`

Uses of SessionFactory in org.hibernate.metamodel.source.internal

Methods in org.hibernate.metamodel.source.internal that return SessionFactory
`SessionFactory` | `MetadataImpl.buildSessionFactory()`
`SessionFactory` | `SessionFactoryBuilderImpl.buildSessionFactory()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.