Class JavaMethodCallBase

    • 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.dbms.api.DatabaseManagementService dbms)
                                    throws MethodCallException,
                                           IncompatibleActionHandlerConnectionException
        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.
        dbms - 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.
        IncompatibleActionHandlerConnectionException
      • exposeParameters

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