org.jboss.seam.persistence
Class PersistenceContexts
java.lang.Object
org.jboss.seam.core.AbstractMutable
org.jboss.seam.persistence.PersistenceContexts
- All Implemented Interfaces:
- Serializable, Mutable
@Name(value="org.jboss.seam.persistence.persistenceContexts")
@Scope(value=CONVERSATION)
@BypassInterceptors
@Install(precedence=0)
public class PersistenceContexts
- extends AbstractMutable
- implements Serializable
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 |
PersistenceContexts
public PersistenceContexts()
create
@Create
public void create()
getFlushMode
public FlushModeType getFlushMode()
getTouchedContexts
public Set<String> getTouchedContexts()
touch
public void touch(String context)
untouch
public void untouch(String context)
instance
public static PersistenceContexts instance()
changeFlushMode
public void changeFlushMode(FlushModeType flushMode)
changeFlushMode
public void changeFlushMode(FlushModeType flushMode,
boolean temporary)
restoreFlushMode
public void restoreFlushMode()
- Restore the previous flush mode if the current flush mode is marked
as temporary.
beforeRender
public void beforeRender()
afterRender
public void afterRender()
Copyright © 2011 Seam Framework. All Rights Reserved.