public interface Heaplet
Heap
. A heaplet can retrieve
object(s) it depends on from the heap.Object create(Name name, org.forgerock.json.fluent.JsonValue config, Heap heap) throws HeapException
name
- the name of the object to be created.config
- the heaplet's configuration object.heap
- the heap where object dependencies can be retrieved.HeapException
- if an exception occurred during creation of the object or any of its dependencies.org.forgerock.json.fluent.JsonValueException
- if the heaplet (or one of its dependencies) has a malformed configuration object.void destroy()
Copyright © 2014 ForgeRock AS. All rights reserved.