Neo4j Community

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, LuceneKernelExtensionFactory

public abstract class KernelExtensionFactory<DEPENDENCIES>
extends Service


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.helpers.Service
Service.CaseInsensitiveService, Service.Implementation
 
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
getClass, notify, notifyAll, wait, wait, wait
 

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

Neo4j Community

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