org.apache.tapestry5.services
Interface SessionPersistedObjectAnalyzer<T>
- All Known Implementing Classes:
- DefaultSessionPersistedObjectAnalyzer, OptimizedApplicationStateObjectAnalyzer, OptimizedSessionPersistedObjectAnalyzer
@UsesMappedConfiguration(key=java.lang.Class.class,
value=SessionPersistedObjectAnalyzer.class)
public interface SessionPersistedObjectAnalyzer<T>
Analyzes a session-persisted object, specifically to see if it is dirty or not. The service implementation uses a
mapped configuration to form a strategy based on
object type. The service is injectable using the Primary marker
annotation.
- Since:
- 5.1.0.0
- See Also:
ImmutableSessionPersistedObject,
OptimizedSessionPersistedObject
|
Method Summary |
boolean |
isDirty(T object)
Passed an object (never null) to see if it is dirty or not. |
isDirty
boolean isDirty(T object)
- Passed an object (never null) to see if it is dirty or not. Dirty objects that are stored in the session are
re-stored into the session at the end of the request.
- Parameters:
object -
- Returns:
- true if object needs to be re-stored into the session
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.