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 class
Neo4jProperties.Embedded
Constructor Summary
Constructors Constructor Description Neo4jProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.ogm.config.Configuration
createConfiguration()
Create aConfiguration
based on the state of this instance.org.neo4j.ogm.config.AutoIndexMode
getAutoIndex()
Neo4jProperties.Embedded
getEmbedded()
Boolean
getOpenInView()
String
getPassword()
String
getUri()
String
getUsername()
void
setApplicationContext(org.springframework.context.ApplicationContext ctx)
void
setAutoIndex(org.neo4j.ogm.config.AutoIndexMode autoIndex)
void
setOpenInView(Boolean openInView)
void
setPassword(String password)
void
setUri(String uri)
void
setUsername(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)
getAutoIndex
public org.neo4j.ogm.config.AutoIndexMode getAutoIndex()
setAutoIndex
public void setAutoIndex(org.neo4j.ogm.config.AutoIndexMode autoIndex)
getOpenInView
public Boolean getOpenInView()
setOpenInView
public void setOpenInView(Boolean openInView)
getEmbedded
public Neo4jProperties.Embedded getEmbedded()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
createConfiguration
public org.neo4j.ogm.config.Configuration createConfiguration()
Create aConfiguration
based on the state of this instance.- Returns:
- a configuration