public class AuditServiceObjectHeaplet extends GenericHeaplet
Constructor and Description |
---|
AuditServiceObjectHeaplet() |
Modifier and Type | Method and Description |
---|---|
Object |
create()
Called to request the heaplet create an object.
|
void |
destroy()
Called to indicate that the object created by the heaplet is going to be dereferenced.
|
void |
start()
Called to request the heaplet start an object.
|
create, endpointRegistry, evaluatedWithHeapProperties, expression
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.public void start() throws HeapException
GenericHeaplet
Heaplet.create(Name, JsonValue, Heap)
after creating and
configuring the object and once the object's logger and storage have been
configured. Implementations should override this method if they need to
acquire resources, start threads, or log any initialization messages.start
in class GenericHeaplet
HeapException
- if an exception occurred while starting the heap object or
any of its dependencies.public void destroy()
Heaplet
destroy
in interface Heaplet
destroy
in class GenericHeaplet
Copyright © 2025 Open Identity Platform Community. All rights reserved.