Spring Data Neo4j

Interface EntityInstantiator<STATE>

All Known Implementing Classes:
AbstractConstructorEntityInstantiator, CrossStoreNodeEntityInstantiator, Neo4jEntityPersister.CachedInstantiator, NodeEntityInstantiator, RelationshipEntityInstantiator

public interface EntityInstantiator<STATE>

Interface to be implemented by classes that can instantiate and configure entities. The framework must do this when creating objects resulting from finders, even when there may be no no-arg constructor supplied by the user.

Rod Johnson

Method Summary
<T> T
createEntityFromState(STATE s, Class<T> c)

Method Detail


<T> T createEntityFromState(STATE s,
                            Class<T> c)

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.