org.neo4j.server.plugins
Class PluginManager

java.lang.Object
  extended by org.neo4j.server.plugins.PluginManager
All Implemented Interfaces:
PluginInvocator, org.neo4j.server.rest.repr.ExtensionInjector

public final class PluginManager
extends Object
implements org.neo4j.server.rest.repr.ExtensionInjector, PluginInvocator


Constructor Summary
PluginManager(org.apache.commons.configuration.Configuration serverConfig, org.neo4j.kernel.logging.Logging logging)
           
 
Method Summary
 ExtensionPointRepresentation describe(String name, Class<?> type, String method)
           
 List<ExtensionPointRepresentation> describeAll(String name)
           
 Set<String> extensionNames()
           
 Map<String,List<String>> getExensionsFor(Class<?> type)
           
<T> org.neo4j.server.rest.repr.Representation
invoke(org.neo4j.kernel.GraphDatabaseAPI graphDb, String name, Class<T> type, String method, T context, org.neo4j.server.plugins.ParameterList params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager(org.apache.commons.configuration.Configuration serverConfig,
                     org.neo4j.kernel.logging.Logging logging)
Method Detail

getExensionsFor

public Map<String,List<String>> getExensionsFor(Class<?> type)
Specified by:
getExensionsFor in interface org.neo4j.server.rest.repr.ExtensionInjector

describe

public ExtensionPointRepresentation describe(String name,
                                             Class<?> type,
                                             String method)
                                      throws org.neo4j.server.plugins.PluginLookupException
Specified by:
describe in interface PluginInvocator
Throws:
org.neo4j.server.plugins.PluginLookupException

describeAll

public List<ExtensionPointRepresentation> describeAll(String name)
                                               throws org.neo4j.server.plugins.PluginLookupException
Specified by:
describeAll in interface PluginInvocator
Throws:
org.neo4j.server.plugins.PluginLookupException

invoke

public <T> org.neo4j.server.rest.repr.Representation invoke(org.neo4j.kernel.GraphDatabaseAPI graphDb,
                                                            String name,
                                                            Class<T> type,
                                                            String method,
                                                            T context,
                                                            org.neo4j.server.plugins.ParameterList params)
                                                 throws org.neo4j.server.plugins.PluginLookupException,
                                                        org.neo4j.server.rest.repr.BadInputException,
                                                        org.neo4j.server.plugins.PluginInvocationFailureException,
                                                        org.neo4j.server.plugins.BadPluginInvocationException
Specified by:
invoke in interface PluginInvocator
Throws:
org.neo4j.server.plugins.PluginLookupException
org.neo4j.server.rest.repr.BadInputException
org.neo4j.server.plugins.PluginInvocationFailureException
org.neo4j.server.plugins.BadPluginInvocationException

extensionNames

public Set<String> extensionNames()
Specified by:
extensionNames in interface PluginInvocator


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