Package org.forgerock.openig.handler
Class ScriptableHandler.Heaplet
- java.lang.Object
-
- org.forgerock.openig.heap.GenericHeaplet
-
- org.forgerock.openig.script.AbstractScriptableHeapObject.AbstractScriptableHeaplet<Response>
-
- org.forgerock.openig.handler.ScriptableHandler.Heaplet
-
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- ScriptableHandler
public static class ScriptableHandler.Heaplet extends AbstractScriptableHeapObject.AbstractScriptableHeaplet<Response>
Creates and initializes a scriptable handler in a heap environment.
-
-
Constructor Summary
Constructors Constructor Description Heaplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptableHandlernewInstance(Script script, Heap heap)Creates the new heap object instance using the provided script.-
Methods inherited from class org.forgerock.openig.script.AbstractScriptableHeapObject.AbstractScriptableHeaplet
create, destroy
-
Methods inherited from class org.forgerock.openig.heap.GenericHeaplet
create, endpointRegistry, evaluatedWithHeapProperties, expression, getConfig, getHeap, getSecretService, getType, meterRegistryHolder, start
-
-
-
-
Method Detail
-
newInstance
public ScriptableHandler newInstance(Script script, Heap heap) throws HeapException
Description copied from class:AbstractScriptableHeapObject.AbstractScriptableHeapletCreates the new heap object instance using the provided script.- Specified by:
newInstancein classAbstractScriptableHeapObject.AbstractScriptableHeaplet<Response>- Parameters:
script- The compiled script.heap- The heap to look for bindings- Returns:
- The new heap object instance using the provided script.
- Throws:
HeapException- if an exception occurred during creation of the heap object or any of its dependencies.
-
-