Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.core
Class HibernateSessionFactory

    java.lang.Object
      org.jboss.seam.microcontainer.HibernateFactory
          org.jboss.seam.core.HibernateSessionFactory

    @Scope(value=APPLICATION)
    @Intercept(value=NEVER)
    @Startup(depends="org.jboss.seam.core.microcontainer")
    public class HibernateSessionFactory

extends HibernateFactory

A Seam component that boostraps a Hibernate SessionFactory

Author:
  Gavin King

Constructor Summary
`HibernateSessionFactory()`

Method Summary
`org.hibernate.SessionFactory` | `getSessionFactory()`
`void` | `shutdown()`
`void` | `startup()`

Methods inherited from class org.jboss.seam.microcontainer.HibernateFactory
`createSessionFactory, getCfgProperties, getCfgResourceName, getMappingClasses, getMappingFiles, getMappingJars, getMappingPackages, getMappingResources, setCfgProperties, setCfgResourceName, setMappingClasses, setMappingFiles, setMappingJars, setMappingPackages, setMappingResources`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HibernateSessionFactory

    public HibernateSessionFactory()

Method Detail

### getSessionFactory

    @Unwrap
    public org.hibernate.SessionFactory getSessionFactory()

  Overrides:
    `getSessionFactory` in class `HibernateFactory`

### startup

    @Create
    public void startup()
                 throws Exception

  Throws:
    `Exception`

### shutdown

    @Destroy
    public void shutdown()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD