Class JavaMethodCallBase

    • Constructor Summary

      Constructors 
      Constructor Description
      JavaMethodCallBase​(org.slf4j.Logger log)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T> T callInstanceMethod​(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> parameterConfiguration, org.neo4j.graphdb.GraphDatabaseService graphDb)
      Retrieves the class and method names via the configuration keys CONFKEY_CLASS_NAME and CONFKEY_METHOD_NAME from the configuration, respectively.
      void exposeParameters​(java.lang.String basePath, org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> template)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaMethodCallBase

        public JavaMethodCallBase​(org.slf4j.Logger log)
    • Method Detail

      • callInstanceMethod

        protected <T> T callInstanceMethod​(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> parameterConfiguration,
                                           org.neo4j.graphdb.GraphDatabaseService graphDb)
                                    throws MethodCallException
        Retrieves the class and method names via the configuration keys CONFKEY_CLASS_NAME and CONFKEY_METHOD_NAME from the configuration, respectively.
        Type Parameters:
        T - The return value of the called method.
        Parameters:
        parameterConfiguration - The subconfiguration immediately containing the parameters.
        graphDb - The graph database to apply the method call on. The graph database must be the first argument of the method.
        Returns:
        The return value of the called method.
        Throws:
        MethodCallException - If any part of the processing of calling the method fails.
      • exposeParameters

        public void exposeParameters​(java.lang.String basePath,
                                     org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> template)