protected abstract static class AbstractScriptableHeapObject.AbstractScriptableHeaplet extends GenericHeaplet
Modifier | Constructor and Description |
---|---|
protected |
AbstractScriptableHeapObject.AbstractScriptableHeaplet() |
Modifier and Type | Method and Description |
---|---|
Object |
create()
Called to request the heaplet create an object.
|
protected abstract AbstractScriptableHeapObject |
newInstance(Script script,
Heap heap)
Creates the new heap object instance using the provided script.
|
create, destroy, endpointRegistry, start
protected AbstractScriptableHeapObject.AbstractScriptableHeaplet()
public Object create() throws HeapException
GenericHeaplet
Heaplet.create(Name, JsonValue, Heap)
after initializing
the protected field members. Implementations should parse configuration
but not acquire resources, start threads, or log any initialization
messages. These tasks should be performed by the GenericHeaplet.start()
method.create
in class GenericHeaplet
HeapException
- if an exception occurred during creation of the heap object
or any of its dependencies.protected abstract AbstractScriptableHeapObject newInstance(Script script, Heap heap) throws HeapException
script
- The compiled script.heap
- The heap to look for bindingsHeapException
- if an exception occurred during creation of the heap
object or any of its dependencies.JsonValueException
- if the heaplet (or one of its dependencies) has a
malformed configuration.Copyright 2011-2015 ForgeRock AS.