Hi,

the documentation contains a section which describes how a Neo4j server can 
be extended with custom REST endpoints 
(http://neo4j.com/docs/stable/server-unmanaged-extensions.html).  The code 
snippets show how dependencies can be injected into the implementation:

public ColleaguesResource(@Context GraphDatabaseService graphDb ) {
...
}

I'm going to create a set of extensions for jQAssistant which need to share 
some common implementations (singletons) - is there a supported way of 
defining such custom injectables, e.g.

public ScanResource(@Context ScannerPluginRepository pluginRepository) {
...
}

Cheers,

Dirk

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to