Class Neo4jProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.data.neo4j.Neo4jProperties
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@ConfigurationProperties(prefix="spring.data.neo4j") public class Neo4jProperties extends Object implements org.springframework.context.ApplicationContextAware
Configuration properties for Neo4j.- Since:
- 1.4.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeo4jProperties.Embedded
Constructor Summary
Constructors Constructor Description Neo4jProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.ogm.config.ConfigurationcreateConfiguration()Create aConfigurationbased on the state of this instance.StringgetCompiler()Neo4jProperties.EmbeddedgetEmbedded()StringgetPassword()StringgetUri()StringgetUsername()voidsetApplicationContext(org.springframework.context.ApplicationContext ctx)voidsetCompiler(String compiler)voidsetPassword(String password)voidsetUri(String uri)voidsetUsername(String username)
Constructor Detail
Neo4jProperties
public Neo4jProperties()
Method Detail
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getCompiler
public String getCompiler()
setCompiler
public void setCompiler(String compiler)
getEmbedded
public Neo4jProperties.Embedded getEmbedded()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
createConfiguration
public org.neo4j.ogm.config.Configuration createConfiguration()
Create aConfigurationbased on the state of this instance.- Returns:
- a configuration