Class ScriptHelperFactoryImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ScriptHelper getInstance​(javax.script.ScriptContext context)
      Returns an instance of R.
      • Methods inherited from class java.lang.Object

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

      • ScriptHelperFactoryImpl

        public ScriptHelperFactoryImpl()
    • Method Detail

      • getInstance

        public 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>
        Specified by:
        getInstance in interface ScriptHelperFactory
        Parameters:
        context - Optional object to be used in R's construction, or to be used as a selector key
        Returns:
        An instance of R