Spring Data Commons

org.springframework.data.persistence
Interface StateBackedCreator<T,STATE>


Deprecated. use EntityInstantiator abstraction instead.

@Deprecated
public interface StateBackedCreator<T,STATE>

encapsulates the instantiator of state-backed classes and populating them with the provided state.

Can be implemented and registered with the concrete AbstractConstructorEntityInstantiator to provide non reflection bases instantiaton for domain classes


Method Summary
 T create(STATE n, java.lang.Class<T> c)
          Deprecated.  
 

Method Detail

create

T create(STATE n,
         java.lang.Class<T> c)
         throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

Spring Data Commons

Copyright © 2012. All Rights Reserved.