public class HandlerDispatcher extends AuditEventHandlerAdapter
| Modifier and Type | Field and Description | 
|---|---|
static String | 
PROPERTY_NAME_TARGET_HANDLERS
Handler property that specifies the handlers that are the 
 dispatch targets (a SystemObject array specifying AuditSpecifications). 
 | 
DEFAULT_BATCHSIZE| Constructor and Description | 
|---|
HandlerDispatcher()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
handleEventPosted(AuditEventHandlerContext context)
Called when at least one registered event is posted. 
 | 
void | 
handleInitialize(AuditEventHandlerContext context)
Initializes this handler. 
 | 
void | 
handleTimerExpired(AuditEventHandlerContext context)
Called when the timer for this AuditEventHandler expires. 
 | 
deleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, handleDispose, markProcessingCompleted, markProcessingStarted, processEvent, processEvents, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerProperty, setProcessingStartedpublic static final String PROPERTY_NAME_TARGET_HANDLERS
public void handleInitialize(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterCalled immediately after construction.
handleInitialize in interface AuditEventHandlerhandleInitialize in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failspublic void handleTimerExpired(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleTimerExpired in interface AuditEventHandlerhandleTimerExpired in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failspublic void handleEventPosted(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleEventPosted in interface AuditEventHandlerhandleEventPosted in class AuditEventHandlerAdaptercontext - the AuditEventHandlerContext to use for processingException - if the operation failsCopyright © 2025. All rights reserved.