Spring Data Neo4j

org.springframework.data.neo4j.cross_store.config
Class CrossStoreNeo4jConfiguration

java.lang.Object
  extended by org.springframework.data.neo4j.config.Neo4jConfiguration
      extended by org.springframework.data.neo4j.aspects.config.Neo4jAspectConfiguration
          extended by org.springframework.data.neo4j.cross_store.config.CrossStoreNeo4jConfiguration

@Configuration
public class CrossStoreNeo4jConfiguration
extends Neo4jAspectConfiguration

Since:
30.09.11
Author:
mh

Constructor Summary
CrossStoreNeo4jConfiguration()
           
 
Method Summary
 javax.persistence.EntityManagerFactory getEntityManagerFactory()
           
protected  EntityInstantiator<org.neo4j.graphdb.Node> graphEntityInstantiator()
           
 boolean isUsingCrossStorePersistence()
           
 PlatformTransactionManager neo4jTransactionManager()
           
 CrossStoreNodeEntityStateFactory nodeEntityStateFactory()
           
 void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
           
 
Methods inherited from class org.springframework.data.neo4j.aspects.config.Neo4jAspectConfiguration
neo4jNodeBacking, neo4jRelationshipBacking
 
Methods inherited from class org.springframework.data.neo4j.config.Neo4jConfiguration
configurationCheck, conversionService, createJtaTransactionManager, entityFetchHandler, entityStateHandler, getGraphDatabaseService, graphDatabase, graphRelationshipInstantiator, mappingContext, mappingInfrastructure, neo4jTemplate, nodeDelegatingFieldAccessorFactory, nodeStateTransmitter, nodeTypeMapper, nodeTypeRepresentationStrategy, persistenceExceptionTranslator, relationshipDelegatingFieldAccessorFactory, relationshipEntityStateFactory, relationshipTypeMapper, relationshipTypeRepresentationStrategy, setGraphDatabaseService, typeRepresentationStrategyFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossStoreNeo4jConfiguration

public CrossStoreNeo4jConfiguration()
Method Detail

getEntityManagerFactory

public javax.persistence.EntityManagerFactory getEntityManagerFactory()

setEntityManagerFactory

@Qualifier(value="&entityManagerFactory")
public void setEntityManagerFactory(javax.persistence.EntityManagerFactory entityManagerFactory)

isUsingCrossStorePersistence

public boolean isUsingCrossStorePersistence()

graphEntityInstantiator

@Bean
protected EntityInstantiator<org.neo4j.graphdb.Node> graphEntityInstantiator()
                                                                      throws Exception
Overrides:
graphEntityInstantiator in class Neo4jConfiguration
Throws:
Exception

neo4jTransactionManager

@Bean
public PlatformTransactionManager neo4jTransactionManager()
Overrides:
neo4jTransactionManager in class Neo4jConfiguration

nodeEntityStateFactory

@Bean
public CrossStoreNodeEntityStateFactory nodeEntityStateFactory()
                                                        throws Exception
Overrides:
nodeEntityStateFactory in class Neo4jConfiguration
Throws:
Exception

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.