Class TracingDecorator.Heaplet
java.lang.Object
org.forgerock.openig.decoration.helper.DecoratorHeaplet
org.forgerock.openig.decoration.tracing.TracingDecorator.Heaplet
- All Implemented Interfaces:
Heaplet
- Enclosing class:
- TracingDecorator
Creates and initializes a TracingDecorator in a heap environment.
-
Field Summary
FieldsFields inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
config, heap, name, object -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.forgerock.openig.decoration.helper.DecoratorHeaplet
create, destroy, meterRegistryHolder, start
-
Field Details
-
NAME
Public name used by resolver.- See Also:
-
-
Constructor Details
-
Heaplet
public Heaplet()
-
-
Method Details
-
getType
Description copied from class:DecoratorHeapletReturns the type of the IG object.- Overrides:
getTypein classDecoratorHeaplet- Returns:
- the type of the IG object
-
create
Description copied from class:DecoratorHeapletCalled 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:
createin classDecoratorHeaplet- Returns:
- The created object.
- Throws:
HeapException- if an exception occurred during creation of the heap object or any of its dependencies.
-