org.springframework.data.neo4j.support
Class MappingInfrastructureFactoryBean

java.lang.Object
  extended by org.springframework.data.neo4j.support.MappingInfrastructureFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Infrastructure>, org.springframework.beans.factory.InitializingBean

public class MappingInfrastructureFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<Infrastructure>, org.springframework.beans.factory.InitializingBean

Since:
17.10.11
Author:
mh

Constructor Summary
MappingInfrastructureFactoryBean()
           
MappingInfrastructureFactoryBean(GraphDatabase graphDatabase, org.springframework.transaction.PlatformTransactionManager transactionManager)
           
MappingInfrastructureFactoryBean(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService, org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Method Summary
 void afterPropertiesSet()
           
static Infrastructure createDirect(GraphDatabase graphDatabase, org.springframework.transaction.PlatformTransactionManager transactionManager)
           
static Infrastructure createDirect(org.neo4j.graphdb.GraphDatabaseService graphDatabase, org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 org.springframework.core.convert.ConversionService getConversionService()
           
 CypherQueryExecutor getCypherQueryExecutor()
           
 Neo4jEntityPersister getEntityPersister()
           
 EntityRemover getEntityRemover()
           
 EntityStateHandler getEntityStateHandler()
           
 GraphDatabase getGraphDatabase()
           
 org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()
           
 IndexProvider getIndexProvider()
           
 Neo4jMappingContext getMappingContext()
           
 TypeRepresentationStrategy<org.neo4j.graphdb.Node> getNodeTypeRepresentationStrategy()
           
 Infrastructure getObject()
           
 Class<?> getObjectType()
           
 TypeRepresentationStrategy<org.neo4j.graphdb.Relationship> getRelationshipTypeRepresentationStrategy()
           
 ResultConverter getResultConverter()
           
 org.springframework.transaction.PlatformTransactionManager getTransactionManager()
           
 TypeRepresentationStrategies getTypeRepresentationStrategies()
           
 javax.validation.Validator getValidator()
           
 boolean isSingleton()
           
 void setConversionService(org.springframework.core.convert.ConversionService conversionService)
           
 void setEntityStateHandler(EntityStateHandler entityStateHandler)
           
 void setGraphDatabase(GraphDatabase graphDatabase)
           
 void setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService)
           
 void setIndexProvider(IndexProvider indexProvider)
           
 void setMappingContext(Neo4jMappingContext mappingContext)
           
 void setNodeEntityInstantiator(EntityInstantiator<org.neo4j.graphdb.Node> nodeEntityInstantiator)
           
 void setNodeEntityStateFactory(EntityStateFactory<org.neo4j.graphdb.Node> nodeEntityStateFactory)
           
 void setNodeTypeRepresentationStrategy(TypeRepresentationStrategy<org.neo4j.graphdb.Node> nodeTypeRepresentationStrategy)
           
 void setRelationshipEntityInstantiator(EntityInstantiator<org.neo4j.graphdb.Relationship> relationshipEntityInstantiator)
           
 void setRelationshipEntityStateFactory(EntityStateFactory<org.neo4j.graphdb.Relationship> relationshipEntityStateFactory)
           
 void setRelationshipTypeRepresentationStrategy(TypeRepresentationStrategy<org.neo4j.graphdb.Relationship> relationshipTypeRepresentationStrategy)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 void setTypeRepresentationStrategyFactory(TypeRepresentationStrategyFactory typeRepresentationStrategyFactory)
           
 void setValidator(javax.validation.Validator validatorFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingInfrastructureFactoryBean

public MappingInfrastructureFactoryBean(GraphDatabase graphDatabase,
                                        org.springframework.transaction.PlatformTransactionManager transactionManager)

MappingInfrastructureFactoryBean

public MappingInfrastructureFactoryBean(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService,
                                        org.springframework.transaction.PlatformTransactionManager transactionManager)

MappingInfrastructureFactoryBean

public MappingInfrastructureFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)

setRelationshipEntityInstantiator

public void setRelationshipEntityInstantiator(EntityInstantiator<org.neo4j.graphdb.Relationship> relationshipEntityInstantiator)

setNodeEntityInstantiator

public void setNodeEntityInstantiator(EntityInstantiator<org.neo4j.graphdb.Node> nodeEntityInstantiator)

setEntityStateHandler

public void setEntityStateHandler(EntityStateHandler entityStateHandler)

setNodeEntityStateFactory

public void setNodeEntityStateFactory(EntityStateFactory<org.neo4j.graphdb.Node> nodeEntityStateFactory)

setRelationshipEntityStateFactory

public void setRelationshipEntityStateFactory(EntityStateFactory<org.neo4j.graphdb.Relationship> relationshipEntityStateFactory)

getEntityStateHandler

public EntityStateHandler getEntityStateHandler()

getNodeTypeRepresentationStrategy

public TypeRepresentationStrategy<org.neo4j.graphdb.Node> getNodeTypeRepresentationStrategy()

setNodeTypeRepresentationStrategy

public void setNodeTypeRepresentationStrategy(TypeRepresentationStrategy<org.neo4j.graphdb.Node> nodeTypeRepresentationStrategy)

getRelationshipTypeRepresentationStrategy

public TypeRepresentationStrategy<org.neo4j.graphdb.Relationship> getRelationshipTypeRepresentationStrategy()

setRelationshipTypeRepresentationStrategy

public void setRelationshipTypeRepresentationStrategy(TypeRepresentationStrategy<org.neo4j.graphdb.Relationship> relationshipTypeRepresentationStrategy)

getConversionService

public org.springframework.core.convert.ConversionService getConversionService()

setConversionService

public void setConversionService(org.springframework.core.convert.ConversionService conversionService)

getValidator

public javax.validation.Validator getValidator()

setValidator

public void setValidator(javax.validation.Validator validatorFactory)

setMappingContext

public void setMappingContext(Neo4jMappingContext mappingContext)

getGraphDatabaseService

public org.neo4j.graphdb.GraphDatabaseService getGraphDatabaseService()

setGraphDatabaseService

public void setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService)

setGraphDatabase

public void setGraphDatabase(GraphDatabase graphDatabase)

getGraphDatabase

public GraphDatabase getGraphDatabase()

getResultConverter

public ResultConverter getResultConverter()

getEntityRemover

public EntityRemover getEntityRemover()

getIndexProvider

public IndexProvider getIndexProvider()

getEntityPersister

public Neo4jEntityPersister getEntityPersister()

getTransactionManager

public org.springframework.transaction.PlatformTransactionManager getTransactionManager()

getTypeRepresentationStrategies

public TypeRepresentationStrategies getTypeRepresentationStrategies()

getCypherQueryExecutor

public CypherQueryExecutor getCypherQueryExecutor()

getMappingContext

public Neo4jMappingContext getMappingContext()

setTypeRepresentationStrategyFactory

public void setTypeRepresentationStrategyFactory(TypeRepresentationStrategyFactory typeRepresentationStrategyFactory)

setIndexProvider

public void setIndexProvider(IndexProvider indexProvider)

getObject

public Infrastructure getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<Infrastructure>

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<Infrastructure>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<Infrastructure>

createDirect

public static Infrastructure createDirect(GraphDatabase graphDatabase,
                                          org.springframework.transaction.PlatformTransactionManager transactionManager)

createDirect

public static Infrastructure createDirect(org.neo4j.graphdb.GraphDatabaseService graphDatabase,
                                          org.springframework.transaction.PlatformTransactionManager transactionManager)


Copyright © 2012 SpringSource. All Rights Reserved.