Class CaptureDecorator.Heaplet
- java.lang.Object
-
- org.forgerock.openig.decoration.helper.DecoratorHeaplet
-
- org.forgerock.openig.decoration.capture.CaptureDecorator.Heaplet
-
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- CaptureDecorator
public static class CaptureDecorator.Heaplet extends DecoratorHeaplet
Creates and initializes a CaptureDecorator in a heap environment.
-
-
Field Summary
-
Fields inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
config, heap, name, object
-
-
Constructor Summary
Constructors Constructor Description Heaplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decorator
create()
Called to request the heaplet create an object.-
Methods inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
create, destroy, getType, meterRegistryHolder, start
-
-
-
-
Method Detail
-
create
public Decorator create() throws HeapException
Description copied from class:DecoratorHeaplet
Called to request the heaplet create an object. Called byDecoratorHeaplet.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 theDecoratorHeaplet.start()
method.- Specified by:
create
in classDecoratorHeaplet
- Returns:
- The created object.
- Throws:
HeapException
- if an exception occurred during creation of the heap object or any of its dependencies.
-
-