org.springframework.data.neo4j.support
Class MappingInfrastructureFactoryBean
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
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.