Package org.forgerock.openig.openam
Class ScriptableResourceUriProvider.Heaplet
java.lang.Object
org.forgerock.openig.heap.GenericHeaplet
org.forgerock.openig.script.AbstractScriptableHeapObject.AbstractScriptableHeaplet<String>
org.forgerock.openig.openam.ScriptableResourceUriProvider.Heaplet
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- ScriptableResourceUriProvider
public static class ScriptableResourceUriProvider.Heaplet
extends AbstractScriptableHeapObject.AbstractScriptableHeaplet<String>
Creates and initializes a scriptable resource url provider 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
-
Field Details
-
NAME
Public name used by resolver.- See Also:
-
-
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<String>
- 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.
-