Class DefaultSessionPersistedObjectAnalyzer
- java.lang.Object
-
- org.apache.tapestry5.http.internal.services.DefaultSessionPersistedObjectAnalyzer
-
- All Implemented Interfaces:
SessionPersistedObjectAnalyzer<Object>
public class DefaultSessionPersistedObjectAnalyzer extends Object implements SessionPersistedObjectAnalyzer<Object>
Default catch-all implementation ofSessionPersistedObjectAnalyzer
.- Since:
- 5.1.0.0
-
-
Constructor Summary
Constructors Constructor Description DefaultSessionPersistedObjectAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkAndResetDirtyState(Object sessionPersistedObject)
An object is dirty unless it has theImmutableSessionPersistedObject
annotation.
-
-
-
Constructor Detail
-
DefaultSessionPersistedObjectAnalyzer
public DefaultSessionPersistedObjectAnalyzer()
-
-
Method Detail
-
checkAndResetDirtyState
public boolean checkAndResetDirtyState(Object sessionPersistedObject)
An object is dirty unless it has theImmutableSessionPersistedObject
annotation.- Specified by:
checkAndResetDirtyState
in interfaceSessionPersistedObjectAnalyzer<Object>
- Parameters:
sessionPersistedObject
- to analyze- Returns:
- false if immutable, true otherwise
-
-