Class ScriptHelperFactoryImpl
- java.lang.Object
-
- org.apache.ofbiz.common.scripting.ScriptHelperFactoryImpl
-
- All Implemented Interfaces:
Factory<ScriptHelper,javax.script.ScriptContext>
,ScriptHelperFactory
public final class ScriptHelperFactoryImpl extends java.lang.Object implements ScriptHelperFactory
An implementation of theScriptHelperFactory
interface.
-
-
Constructor Summary
Constructors Constructor Description ScriptHelperFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptHelper
getInstance(javax.script.ScriptContext context)
Returns an instance ofR
.
-
-
-
Method Detail
-
getInstance
public ScriptHelper getInstance(javax.script.ScriptContext context)
Description copied from interface:Factory
Returns an instance ofR
. This is a basic factory interface that is meant to be extended. Sub-interfaces declare types forA
(thegetInstance
argument), andR
(the type returned bygetInstance
).- Specified by:
getInstance
in interfaceFactory<ScriptHelper,javax.script.ScriptContext>
- Specified by:
getInstance
in interfaceScriptHelperFactory
- Parameters:
context
- Optional object to be used inR
's construction, or to be used as a selector key- Returns:
- An instance of
R
-
-