站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.0 API 英文版文档

ManagedHibernateSession (JBoss Seam API Documentation) - JBoss Seam 1.0.0 API 英文版文档


org.jboss.seam.core
Class ManagedHibernateSession

java.lang.Object
  extended by org.jboss.seam.core.ManagedHibernateSession
All Implemented Interfaces:
Serializable

@Scope(value=CONVERSATION)
@Intercept(value=NEVER)
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

Constructor Summary
ManagedHibernateSession()
           
 
Method Summary
 void create(Component component)
           
 void destroy()
           
 String getComponentName()
           
 org.hibernate.Session getSession()
           
 String getSessionFactoryJndiName()
           
 void setSessionFactoryJndiName(String sessionFactoryName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedHibernateSession

public ManagedHibernateSession()
Method Detail

create

@Create
public void create(Component component)

getSession

@Unwrap
public org.hibernate.Session getSession()

destroy

@Destroy
public void destroy()

toString

public String toString()
Overrides:
toString in class Object

getSessionFactoryJndiName

public String getSessionFactoryJndiName()

setSessionFactoryJndiName

public void setSessionFactoryJndiName(String sessionFactoryName)

getComponentName

public String getComponentName()