org.apache.tapestry5.internal.services
Class DefaultSessionPersistedObjectAnalyzer

java.lang.Object
  extended by 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

Constructor Summary
DefaultSessionPersistedObjectAnalyzer()
           
 
Method Summary
 boolean isDirty(Object object)
          An object is dirty unless it has the ImmutableSessionPersistedObject annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSessionPersistedObjectAnalyzer

public DefaultSessionPersistedObjectAnalyzer()
Method Detail

isDirty

public boolean isDirty(Object object)
An object is dirty unless it has the ImmutableSessionPersistedObject annotation.

Specified by:
isDirty in interface SessionPersistedObjectAnalyzer<Object>
Parameters:
object - to analyze
Returns:
false if immutable, true otherwise


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.