Spring Data Core

org.springframework.data.support
Interface IsNewStrategyFactory

All Known Implementing Classes:
CachingIsNewStrategyFactory, IsNewStrategyFactorySupport, MappingContextIsNewStrategyFactory

public interface IsNewStrategyFactory

Factory interface to create IsNewStrategy instances for a given class.

Since:
1.5
Author:
Oliver Gierke

Method Summary
 IsNewStrategy getIsNewStrategy(Class<?> type)
          Returns the IsNewStrategy to be used for the given type.
 

Method Detail

getIsNewStrategy

IsNewStrategy getIsNewStrategy(Class<?> type)
Returns the IsNewStrategy to be used for the given type.

Parameters:
type - must not be null.
Returns:
the IsNewStrategy to be used for the given type, will never be null.
Throws:
IllegalArgumentException - in case no IsNewStrategy could be determined.

Spring Data Core

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