|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginLifecycle
Interface to be implemented and exposed via the Java ServiceLocator mechanism that allows
plugins to provide their own initialization.
The implementations of this interface have to be listed in a file
META-INF/services/org.neo4j.server.plugins.PluginLifecycle
that contains the fully qualified class names of the individual plugin. This file
has to be supplied with the plugin jar to the Neo4j server.
The plugin might return a collection of Injectable
s that can later be used with
Method Summary | |
---|---|
Collection<Injectable<?>> |
start(GraphDatabaseService graphDatabaseService,
org.apache.commons.configuration.Configuration config)
Called at initialization time, before the plugin ressources are acutally loaded. |
void |
stop()
called to shutdown individual external resources or configurations |
Method Detail |
---|
Collection<Injectable<?>> start(GraphDatabaseService graphDatabaseService, org.apache.commons.configuration.Configuration config)
graphDatabaseService
- of the Neo4j service, use it to integrate it with custom configuration mechanismsconfig
- server configuration
Injectable
s that will be available to resource dependency injection latervoid stop()
|
Neo4j | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |