Interface ScriptHelperFactory

    • Method Detail

      • getInstance

        ScriptHelper getInstance​(javax.script.ScriptContext context)
        Description copied from interface: Factory
        Returns an instance of R. This is a basic factory interface that is meant to be extended. Sub-interfaces declare types for A (the getInstance argument), and R (the type returned by getInstance).
        Specified by:
        getInstance in interface Factory<ScriptHelper,​javax.script.ScriptContext>
        Parameters:
        context - Optional object to be used in R's construction, or to be used as a selector key
        Returns:
        An instance of R