PluginLifecycle that is part of the Neo4j server plugins.
Those plugins are also deprecated for removal in future releases.
If you plan to use this in an unmanaged extension in the future, please create the Neo4j-OGM embedded driver manually
within your extension.@Deprecated public abstract class OgmPluginInitializer extends Object implements org.neo4j.server.plugins.PluginLifecycle
META-INF/services/org.neo4j.server.plugins.PluginLifecycle
in your plugin jar and list the name of the class there @Context to inject SessionFactory to extension resource dbms.unmanaged_extension_classes property| Modifier and Type | Class and Description |
|---|---|
static class |
OgmPluginInitializer.OgmInjectable<T>
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
packages
Deprecated.
|
protected SessionFactory |
sessionFactory
Deprecated.
|
| Constructor and Description |
|---|
OgmPluginInitializer(String packages)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected SessionFactory |
createSessionFactory(EmbeddedDriver embeddedDriver)
Deprecated.
|
Collection<org.neo4j.server.plugins.Injectable<?>> |
start(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService,
org.apache.commons.configuration.Configuration config)
Deprecated.
|
void |
stop()
Deprecated.
|
protected final String packages
protected SessionFactory sessionFactory
public OgmPluginInitializer(String packages)
public Collection<org.neo4j.server.plugins.Injectable<?>> start(org.neo4j.graphdb.GraphDatabaseService graphDatabaseService, org.apache.commons.configuration.Configuration config)
start in interface org.neo4j.server.plugins.PluginLifecycleprotected SessionFactory createSessionFactory(EmbeddedDriver embeddedDriver)
public void stop()
stop in interface org.neo4j.server.plugins.PluginLifecycleCopyright © 2015–2019 Neo Technology, Inc.. All rights reserved.