|
|
|
@ -23,9 +23,7 @@ import org.neo4j.ogm.config.Configuration;
|
|
|
|
|
import org.neo4j.ogm.config.DriverConfiguration;
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.BeansException;
|
|
|
|
|
import org.springframework.boot.autoconfigure.transaction.TransactionProperties;
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
|
|
|
|
import org.springframework.context.ApplicationContext;
|
|
|
|
|
import org.springframework.context.ApplicationContextAware;
|
|
|
|
|
import org.springframework.util.ClassUtils;
|
|
|
|
@ -71,9 +69,6 @@ public class Neo4jProperties implements ApplicationContextAware {
|
|
|
|
|
|
|
|
|
|
private final Embedded embedded = new Embedded();
|
|
|
|
|
|
|
|
|
|
@NestedConfigurationProperty
|
|
|
|
|
private final TransactionProperties transaction = new TransactionProperties();
|
|
|
|
|
|
|
|
|
|
private ClassLoader classLoader = Neo4jProperties.class.getClassLoader();
|
|
|
|
|
|
|
|
|
|
public String getUri() {
|
|
|
|
@ -112,10 +107,6 @@ public class Neo4jProperties implements ApplicationContextAware {
|
|
|
|
|
return this.embedded;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TransactionProperties getTransaction() {
|
|
|
|
|
return this.transaction;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void setApplicationContext(ApplicationContext ctx) throws BeansException {
|
|
|
|
|
this.classLoader = ctx.getClassLoader();
|
|
|
|
|