|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.BaseOptimizedSessionPersistedObject
public abstract class BaseOptimizedSessionPersistedObject
Base implementation of OptimizedSessionPersistedObject. Subclasses should invoke markDirty() when internal state of the object changes.
| Constructor Summary | |
|---|---|
BaseOptimizedSessionPersistedObject()
|
|
| Method Summary | |
|---|---|
boolean |
isSessionPersistedObjectDirty()
Returns true if the object has in-memory changes. |
protected void |
markDirty()
Invoked by the subclass whenever the internal state of the object changes. |
void |
valueBound(HttpSessionBindingEvent event)
Invoked by the servlet container when the value is stored (or re-stored) as an attribute of the session. |
void |
valueUnbound(HttpSessionBindingEvent event)
Does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseOptimizedSessionPersistedObject()
| Method Detail |
|---|
public final boolean isSessionPersistedObjectDirty()
OptimizedSessionPersistedObjectHttpSessionBindingListener.
isSessionPersistedObjectDirty in interface OptimizedSessionPersistedObjectpublic void valueBound(HttpSessionBindingEvent event)
valueBound in interface HttpSessionBindingListenerpublic void valueUnbound(HttpSessionBindingEvent event)
valueUnbound in interface HttpSessionBindingListenerprotected final void markDirty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||