Spring Data Core

Package org.springframework.data.support

Core support classes.

See:
          Description

Interface Summary
IsNewStrategy Strategy interface to determine whether a given entity is to be considered new.
IsNewStrategyFactory Factory interface to create IsNewStrategy instances for a given class.
 

Class Summary
CachingIsNewStrategyFactory IsNewStrategyFactory that caches resolved IsNewStrategy instances per type to avoid re-resolving them on each and every request.
IsNewStrategyFactorySupport IsNewStrategyFactory that handles Persistable implementations directly by retuning a PersistableIsNewStrategy and delegating to IsNewStrategyFactorySupport.doGetIsNewStrategy(Class) for all other types.
 

Enum Summary
PersistableIsNewStrategy IsNewStrategy that invokes Persistable.isNew() on the given object.
 

Package org.springframework.data.support Description

Core support classes.


Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.