当前页面: 
在线文档首页 > 
JBoss Seam  1.0.0 API 英文版文档
Hibernate (JBoss Seam API Documentation) - JBoss Seam  1.0.0 API 英文版文档
org.jboss.seam.core
Class Hibernate
java.lang.Object
   org.jboss.seam.core.Hibernate
org.jboss.seam.core.Hibernate
- @Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Startup(depends="org.jboss.seam.core.microcontainer")
@Name(value="org.jboss.seam.core.hibernate")
public class Hibernate 
- extends Object
A seam component that boostraps a Hiberate SessionFactory
- Author:
- Gavin King
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Hibernate
public Hibernate()
getSessionFactory
@Unwrap
public org.hibernate.SessionFactory getSessionFactory()
- 
 
startup
@Create
public void startup()
             throws Exception
- 
- Throws:
- Exception
 
shutdown
@Destroy
public void shutdown()
- 
 
getCfgResourceName
public String getCfgResourceName()
- 
 
setCfgResourceName
public void setCfgResourceName(String cfgFileName)
-