org.jboss.seam.persistence
@Scope(value=CONVERSATION) @BypassInterceptors public class ManagedHibernateSession extends Object implements Serializable, javax.servlet.http.HttpSessionActivationListener, Mutable, PersistenceContextManager, Synchronization
| Constructor and Description |
|---|
ManagedHibernateSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
void |
changeFlushMode(FlushModeType flushMode) |
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.ValueExpression<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 |
setSessionFactory(Expressions.ValueExpression<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) |
protected void |
setSessionFlushMode(FlushModeType flushMode) |
String |
toString() |
public boolean clearDirty()
MutableclearDirty in interface Mutablepublic void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListenerpublic void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener@Destroy public void destroy()
public void afterCompletion(int status)
afterCompletion in interface Synchronizationpublic void beforeCompletion()
beforeCompletion in interface Synchronizationpublic String getComponentName()
public void changeFlushMode(FlushModeType flushMode)
changeFlushMode in interface PersistenceContextManagerprotected void setSessionFlushMode(FlushModeType flushMode)
public String getSessionFactoryJndiName()
public void setSessionFactoryJndiName(String sessionFactoryName)
public void setSessionFactory(Expressions.ValueExpression<org.hibernate.SessionFactory> sessionFactory)
public Expressions.ValueExpression<org.hibernate.SessionFactory> getSessionFactory()
Copyright © 2015 Seam Framework. All Rights Reserved.