Spring Data Graph

org.springframework.data.graph.neo4j.support.relationship
Class ConstructorBypassingGraphRelationshipInstantiator

java.lang.Object
  extended by org.springframework.data.graph.neo4j.support.relationship.ConstructorBypassingGraphRelationshipInstantiator
All Implemented Interfaces:
org.springframework.persistence.support.EntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

public class ConstructorBypassingGraphRelationshipInstantiator
extends Object
implements org.springframework.persistence.support.EntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

Instantiator for relationship entities uses non constructor invoking ReflectionFactory internal to sun reflect package. Part of the SPI, not intended for public use.


Constructor Summary
ConstructorBypassingGraphRelationshipInstantiator()
           
 
Method Summary
<T extends RelationshipBacked>
T
createEntityFromState(org.neo4j.graphdb.Relationship r, Class<T> c)
           
protected static
<T> T
createWithoutConstructorInvocation(Class<T> clazz)
           
protected static
<T> T
createWithoutConstructorInvocation(Class<T> clazz, Class<? super T> parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorBypassingGraphRelationshipInstantiator

public ConstructorBypassingGraphRelationshipInstantiator()
Method Detail

createWithoutConstructorInvocation

protected static <T> T createWithoutConstructorInvocation(Class<T> clazz)

createWithoutConstructorInvocation

protected static <T> T createWithoutConstructorInvocation(Class<T> clazz,
                                                          Class<? super T> parent)

createEntityFromState

public <T extends RelationshipBacked> T createEntityFromState(org.neo4j.graphdb.Relationship r,
                                                              Class<T> c)
Specified by:
createEntityFromState in interface org.springframework.persistence.support.EntityInstantiator<RelationshipBacked,org.neo4j.graphdb.Relationship>

Spring Data Graph

Copyright © 2011. All Rights Reserved.