Interface ScriptManagedFunction.ScriptEngineDecorator

  • Enclosing class:
    ScriptManagedFunction
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ScriptManagedFunction.ScriptEngineDecorator
    Decorates the ScriptEngine.
    • Method Detail

      • decorate

        void decorate​(javax.script.ScriptEngine engine)
               throws java.lang.Exception
        Decorates the ScriptEngine.
        Parameters:
        engine - ScriptEngine.
        Throws:
        java.lang.Exception - If fails to decorate the ScriptEngine.