Package org.vrspace.server.config
Class NeoConfig
- java.lang.Object
-
- org.vrspace.server.config.NeoConfig
-
@Configuration @ConditionalOnProperty("org.vrspace.db") public class NeoConfig extends Object
Starts embedded Neo4J with database in directory specified in org.vrspace.db property - only if the property is set.- Author:
- joe
-
-
Constructor Summary
Constructors Constructor Description NeoConfig()
-
-
-
Method Detail
-
config
@Bean("database") public org.neo4j.graphdb.GraphDatabaseService config() throws URISyntaxException, IOException
- Throws:
URISyntaxException
IOException
-
stop
@PreDestroy public void stop()
-
-