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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(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, getType, initialBindings, meterRegistryHolder, start
-
Constructor Details
-
Heaplet
public Heaplet()
-
-
Method Details
-
newInstance
Description copied from class:AbstractScriptableHeapObject.AbstractScriptableHeaplet
Creates the new heap object instance using the provided script.- Specified by:
newInstance
in 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.
-