类 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 class
Neo4jProperties.Embedded
构造器概要
构造器 构造器 说明 Neo4jProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.neo4j.ogm.config.Configuration
createConfiguration()
Create aConfiguration
based on the state of this instance.String
getCompiler()
Neo4jProperties.Embedded
getEmbedded()
String
getPassword()
String
getUri()
String
getUsername()
void
setApplicationContext(org.springframework.context.ApplicationContext ctx)
void
setCompiler(String compiler)
void
setPassword(String password)
void
setUri(String uri)
void
setUsername(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 aConfiguration
based on the state of this instance.- 返回:
- a configuration