Spring Data Commons

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


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, Class<T> c)
           
 

Method Detail

create

T create(STATE n,
         Class<T> c)
         throws Exception
Throws:
Exception

Spring Data Commons

Copyright © 2011. All Rights Reserved.