public interface AuditEventHandler
Implementations are server plug-ins that perform custom processing of registered events or periodic processing at specified time intervals. This interface is analogous to oracle.ifs.fdk.EventHandler.
Modifier and Type | Method and Description |
---|---|
void |
handleDispose(AuditEventHandlerContext context)
Called when the AuditEventHandler instance will no longer
be used.
|
void |
handleEventPosted(AuditEventHandlerContext context)
Called when at least one registered event is posted.
|
void |
handleInitialize(AuditEventHandlerContext context)
Initializes this AuditEventHandler.
|
void |
handleTimerExpired(AuditEventHandlerContext context)
Called when the timer for this AuditEventHandler expires.
|
void handleInitialize(AuditEventHandlerContext context) throws Exception
Called immediately after construction.
context
- the AuditEventHandlerContext to use for processingException
- if the operation failsvoid handleEventPosted(AuditEventHandlerContext context) throws Exception
context
- the AuditEventHandlerContext to use for processingException
- if the operation failsvoid handleTimerExpired(AuditEventHandlerContext context) throws Exception
context
- the AuditEventHandlerContext to use for processingException
- if the operation failsvoid handleDispose(AuditEventHandlerContext context) throws Exception
The instance should release any resources it is holding that would not be automatically released as part of the object's garbage collection.
context
- the AuditEventHandlerContext to use for processingException
- if the operation failsCopyright © 2023. All rights reserved.