org.apache.tapestry5.internal.services
Class DefaultSessionPersistedObjectAnalyzer
java.lang.Object
org.apache.tapestry5.internal.services.DefaultSessionPersistedObjectAnalyzer
- All Implemented Interfaces:
- SessionPersistedObjectAnalyzer<Object>
public class DefaultSessionPersistedObjectAnalyzer
- extends Object
- implements SessionPersistedObjectAnalyzer<Object>
Default catch-all implementation of SessionPersistedObjectAnalyzer
.
- Since:
- 5.1.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSessionPersistedObjectAnalyzer
public DefaultSessionPersistedObjectAnalyzer()
checkAndResetDirtyState
public boolean checkAndResetDirtyState(Object sessionPersistedObject)
- An object is dirty unless it has the
ImmutableSessionPersistedObject
annotation.
- Specified by:
checkAndResetDirtyState
in interface SessionPersistedObjectAnalyzer<Object>
- Parameters:
sessionPersistedObject
- to analyze
- Returns:
- false if immutable, true otherwise
Copyright © 2003-2012 The Apache Software Foundation.