Package org.apache.ofbiz.base.util
Interface ScriptHelperFactory
-
- All Superinterfaces:
Factory<ScriptHelper,javax.script.ScriptContext>
- All Known Implementing Classes:
ScriptHelperFactoryImpl
public interface ScriptHelperFactory extends Factory<ScriptHelper,javax.script.ScriptContext>
AScriptHelper
factory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScriptHelper
getInstance(javax.script.ScriptContext context)
Returns an instance ofR
.
-
-
-
Method Detail
-
getInstance
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>
- Parameters:
context
- Optional object to be used inR
's construction, or to be used as a selector key- Returns:
- An instance of
R
-
-