org.neo4j.kernel.extension
Class KernelExtensionFactory<DEPENDENCIES>

java.lang.Object
  extended by org.neo4j.helpers.Service
      extended by org.neo4j.kernel.extension.KernelExtensionFactory<DEPENDENCIES>
Direct Known Subclasses:
IndexProviderKernelExtensionFactory

public abstract class KernelExtensionFactory<DEPENDENCIES>
extends Service


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.helpers.Service
Service.CaseInsensitiveService, Service.Implementation
 
Constructor Summary
protected KernelExtensionFactory(String key)
           
 
Method Summary
 Class getSettingsClass()
          Return the class that contains GraphDatabaseSetting fields that define the properties needed by this extension.
abstract  Lifecycle newKernelExtension(DEPENDENCIES dependencies)
          Create a new instance of this kernel extension.
 
Methods inherited from class org.neo4j.helpers.Service
equals, getKeys, hashCode, load, load, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KernelExtensionFactory

protected KernelExtensionFactory(String key)
Method Detail

getSettingsClass

public Class getSettingsClass()
Return the class that contains GraphDatabaseSetting fields that define the properties needed by this extension.

Returns:
a class or null if no settings are needed

newKernelExtension

public abstract Lifecycle newKernelExtension(DEPENDENCIES dependencies)
                                      throws Throwable
Create a new instance of this kernel extension.

Parameters:
dependencies -
Returns:
Throws:
Throwable


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.