How to get Database Managment Service Builder when creating a custom procedure?

Hi all,

Probably this is a silly question, but I did not find an answer yet. I am developing a custom procedure and I will like to register a transaction listener (https://neo4j.com/docs/java-reference/current/transaction-management/events/). To do this I need a DatabaseManagementServiceBuilder instance. The question is how to get this instance from the GraphDatabaseService graphDB. It seems that I cannot inject the DatabaseManagementServiceBuilder using the @Context annotation.

Would you give any hints/solution? Thanks.

Currently working with Neo4j 4.1.1.

Kind regards,
Antonio

Hi all,

I still do not know how to solve this issue. Please, If I have to give more information or explain this issue more in detail just let me know.

Thanks in advance.

Kind regards,
Antonio