|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.core.ManagedHibernateSession
@Scope(value=CONVERSATION) @Intercept(value=NEVER) public class ManagedHibernateSession
A Seam component that manages a conversation-scoped extended persistence context that can be shared by arbitrary other components.
Constructor Summary | |
---|---|
ManagedHibernateSession()
|
Method Summary | |
---|---|
boolean |
clearDirty()
Get and clear the dirty flag. |
void |
create(Component component)
|
void |
destroy()
|
String |
getComponentName()
|
List<Filter> |
getFilters()
Hibernate filters to enable automatically |
org.hibernate.Session |
getSession()
|
Expressions.ValueBinding<org.hibernate.SessionFactory> |
getSessionFactory()
|
String |
getSessionFactoryJndiName()
The JNDI name of the Hibernate SessionFactory, if it is to be obtained from JNDI |
void |
sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
|
void |
sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
|
void |
setFilters(List<Filter> filters)
|
void |
setFlushMode(FlushModeType flushMode)
|
void |
setSessionFactory(Expressions.ValueBinding<org.hibernate.SessionFactory> sessionFactory)
A value binding expression that returns a SessionFactory, if it is to be obtained as a Seam component reference |
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 |
---|
public ManagedHibernateSession()
Method Detail |
---|
public boolean clearDirty()
Mutable
clearDirty
in interface Mutable
@Create public void create(Component component)
@Unwrap public org.hibernate.Session getSession()
public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
sessionWillPassivate
in interface javax.servlet.http.HttpSessionActivationListener
public void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
sessionDidActivate
in interface javax.servlet.http.HttpSessionActivationListener
@Destroy public void destroy()
public String getComponentName()
public void setFlushMode(FlushModeType flushMode)
setFlushMode
in interface PersistenceContextManager
public String getSessionFactoryJndiName()
public void setSessionFactoryJndiName(String sessionFactoryName)
public void setSessionFactory(Expressions.ValueBinding<org.hibernate.SessionFactory> sessionFactory)
public Expressions.ValueBinding<org.hibernate.SessionFactory> getSessionFactory()
public List<Filter> getFilters()
public void setFilters(List<Filter> filters)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |