当前页面:
在线文档首页 >
JBoss Seam 1.0.1 API 英文版文档
ManagedHibernateSession (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档
org.jboss.seam.core
Class ManagedHibernateSession
java.lang.Object
org.jboss.seam.core.ManagedHibernateSession
- All Implemented Interfaces:
- Serializable
@Scope(value=CONVERSATION)
@Intercept(value=NEVER)
@Mutable
public class ManagedHibernateSession
- extends Object
- implements Serializable
A Seam component that manages a conversation-scoped extended
persistence context that can be shared by arbitrary other
components.
- Author:
- Gavin King
- See Also:
- Serialized Form
ManagedHibernateSession
public ManagedHibernateSession()
create
@Create
public void create(Component component)
getSession
@Unwrap
public org.hibernate.Session getSession()
destroy
@Destroy
public void destroy()
getSessionFactoryJndiName
public String getSessionFactoryJndiName()
setSessionFactoryJndiName
public void setSessionFactoryJndiName(String sessionFactoryName)
getComponentName
public String getComponentName()
toString
public String toString()
- Overrides:
toString
in class Object