类 Neo4jProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.data.neo4j.Neo4jProperties
- 所有已实现的接口:
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.- 从以下版本开始:
- 1.4.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classNeo4jProperties.Embedded
构造器概要
构造器 构造器 说明 Neo4jProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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)
构造器详细资料
Neo4jProperties
public Neo4jProperties()
方法详细资料
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
- 指定者:
setApplicationContext在接口中org.springframework.context.ApplicationContextAware- 抛出:
org.springframework.beans.BeansException
createConfiguration
public org.neo4j.ogm.config.Configuration createConfiguration()
Create aConfigurationbased on the state of this instance.- 返回:
- a configuration