Interface ExecutionStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(java.lang.Object instance)
      Executes a method on an object instance, or a static method if the specified instance is null.
    • Method Detail

      • execute

        java.lang.Object execute​(java.lang.Object instance)
                          throws javax.script.ScriptException
        Executes a method on an object instance, or a static method if the specified instance is null.
        Parameters:
        instance - the object instance to be executed or null to execute a static method
        Returns:
        the return value of the method, or null
        Throws:
        javax.script.ScriptException - if no method to execute was found