public interface PluginLifecycle
Injectable
s that can later be used withModifier and Type | Method and Description |
---|---|
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
|
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 configurationInjectable
s that will be available to resource dependency injection latervoid stop()
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.