简体   繁体   中英

Is it possible to have access to neo4j configurations in a user defined procedure?

I'm trying to write a user defined procedure in neo4j which requires having access to neo4j configurations. I can see in the documentations that @Context is used to inject GraphDatabaseService and Log objects but I don't see anything for config object.

Is there any way to do this?

You need org.neo4j.kernel.configuration.Config package.

Good example in APOC:

https://github.com/neo4j-contrib/neo4j-apoc-procedures/blob/3.2/src/main/java/apoc/ApocConfiguration.java

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM