当前页面: 
在线文档首页 > 
JBoss Seam  1.2.0 patch1 API 英文版文档
HibernateSessionFactory (JBoss Seam API Documentation) - JBoss Seam  1.2.0 patch1 API 英文版文档
org.jboss.seam.core
Class HibernateSessionFactory
java.lang.Object
   org.jboss.seam.microcontainer.HibernateFactory
org.jboss.seam.microcontainer.HibernateFactory
       org.jboss.seam.core.HibernateSessionFactory
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
 
 
| 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 | 
 
HibernateSessionFactory
public HibernateSessionFactory()
getSessionFactory
@Unwrap
public org.hibernate.SessionFactory getSessionFactory()
- 
- Overrides:
- getSessionFactoryin class- HibernateFactory
 
- 
 
startup
@Create
public void startup()
             throws Exception
- 
- Throws:
- Exception
 
shutdown
@Destroy
public void shutdown()
-