org.jboss.seam.persistence
Class PersistenceContextsImpl
java.lang.Object
org.jboss.seam.persistence.PersistenceContextsImpl
- All Implemented Interfaces:
- Serializable, PersistenceContexts
@ConversationScoped
public class PersistenceContextsImpl
- extends Object
- implements Serializable, PersistenceContexts
Maintains the set of persistence contexts that have been touched in a
conversation. Also controls the flush mode used by the persistence contexts
during the render phase.
- Author:
- Gavin King
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceContextsImpl
public PersistenceContextsImpl()
create
@Inject
public void create(FlushModeManager manager)
getFlushMode
public FlushModeType getFlushMode()
- Specified by:
getFlushMode in interface PersistenceContexts
getTouchedContexts
public Set<PersistenceContextsImpl.PersistenceContextDefintition> getTouchedContexts()
touch
public void touch(ManagedPersistenceContext context)
- Specified by:
touch in interface PersistenceContexts
untouch
public void untouch(ManagedPersistenceContext context)
- Specified by:
untouch in interface PersistenceContexts
changeFlushMode
public void changeFlushMode(FlushModeType flushMode)
- Specified by:
changeFlushMode in interface PersistenceContexts
restoreFlushMode
public void restoreFlushMode()
- Specified by:
restoreFlushMode in interface PersistenceContexts
beforeRender
public void beforeRender()
- Specified by:
beforeRender in interface PersistenceContexts
afterRender
public void afterRender()
- Specified by:
afterRender in interface PersistenceContexts
Copyright © 2011 Seam Framework. All Rights Reserved.