org.neo4j.kernel.extension
Class KernelExtensions
java.lang.Object
org.neo4j.kernel.extension.KernelExtensions
- All Implemented Interfaces:
- DependencyResolver, Lifecycle
public class KernelExtensions
- extends Object
- implements Lifecycle, DependencyResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KernelExtensions
public KernelExtensions(Iterable<KernelExtensionFactory<?>> kernelExtensionFactories,
Config config,
DependencyResolver dependencyResolver)
init
public void init()
throws Throwable
- Specified by:
init in interface Lifecycle
- Throws:
Throwable
start
public void start()
throws Throwable
- Specified by:
start in interface Lifecycle
- Throws:
Throwable
stop
public void stop()
throws Throwable
- Specified by:
stop in interface Lifecycle
- Throws:
Throwable
shutdown
public void shutdown()
throws Throwable
- Specified by:
shutdown in interface Lifecycle
- Throws:
Throwable
isRegistered
public boolean isRegistered(Class<?> kernelExtensionFactoryClass)
addKernelExtension
public void addKernelExtension(KernelExtensionFactory kernelExtensionFactory)
removeKernelExtension
public void removeKernelExtension(KernelExtensionFactory kernelExtensionFactory)
addKernelExtensionListener
public void addKernelExtensionListener(KernelExtensionListener listener)
removeKernelExtensionListener
public void removeKernelExtensionListener(KernelExtensionListener listener)
resolveDependency
public <T> T resolveDependency(Class<T> type)
throws IllegalArgumentException
- Specified by:
resolveDependency in interface DependencyResolver
- Throws:
IllegalArgumentException
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.