public class InformationExtractionHandler extends InformationExtractionHandlerDispatcher
InformationExtractionHandlerDispatcher.DispatcherCallback
PROPERTY_NAME_FINISHER_HANDLERS, PROPERTY_NAME_PARSER_HANDLERS, PROPERTY_NAME_PREPARER_HANDLERS, PROPERTY_NAME_PRIORITY_FINISHER_HANDLERS, PROPERTY_NAME_PRIORITY_PARSER_HANDLERS, PROPERTY_NAME_PRIORITY_PREPARER_HANDLERS, PROPERTY_NAME_PRIORITY_SOLVER_HANDLERS, PROPERTY_NAME_PRIORITY_TRAINER_HANDLERS, PROPERTY_NAME_SOLVER_HANDLERS, PROPERTY_NAME_TRAINER_HANDLERS
DEFAULT_BATCHSIZE
Constructor and Description |
---|
InformationExtractionHandler() |
Modifier and Type | Method and Description |
---|---|
IfsLogger |
getLogger()
Gets the logger, optionally from a subclass.
|
protected AuditSpecification |
getNextFinisherHandler(InformationExtraction ext)
Gets the next Handler for a FINISH.
|
protected AuditSpecification |
getNextParserHandler(InformationExtraction ext)
Gets the next Handler for a PARSE.
|
protected AuditSpecification |
getNextPreparerHandler(InformationExtraction ext)
Gets the next Handler for a PREPARE.
|
protected AuditSpecification |
getNextSolverHandler(InformationExtraction ext)
Gets the next Handler for a SOLVE.
|
protected AuditSpecification |
getNextTrainerHandler(InformationExtraction ext)
Gets the next Handler for a TRAIN.
|
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.
|
addCallback, getCallback, getFinisherHandlers, getParserHandlers, getPreparerHandlers, getPriorityFinisherHandlers, getPriorityParserHandlers, getPriorityPreparerHandlers, getPrioritySolverHandlers, getPriorityTrainerHandlers, getSolverHandlers, getTargetHandlersFromEventAssignmentTableList, getTrainerHandlers, handleDispose, handleInformationExtractionPrepareRequested, isDefaultHandlerSet, isMatchingHandlerSet, processEvent, processScheduledExtractions, removeCallback
deleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerProperty
public IfsLogger getLogger()
getLogger
in class InformationExtractionHandlerDispatcher
public void handleInitialize(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapter
Called immediately after construction.
handleInitialize
in interface AuditEventHandler
handleInitialize
in class InformationExtractionHandlerDispatcher
context
- the AuditEventHandlerContext to use for processingException
- if the operation failspublic void handleEventPosted(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapter
handleEventPosted
in interface AuditEventHandler
handleEventPosted
in class InformationExtractionHandlerDispatcher
context
- the AuditEventHandlerContext to use for processingException
- if the operation failspublic void handleTimerExpired(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapter
handleTimerExpired
in interface AuditEventHandler
handleTimerExpired
in class InformationExtractionHandlerDispatcher
context
- the AuditEventHandlerContext to use for processingException
- if the operation failsprotected AuditSpecification getNextPreparerHandler(InformationExtraction ext) throws IfsException
InformationExtractionHandlerDispatcher
getNextPreparerHandler
in class InformationExtractionHandlerDispatcher
ext
- the InformationExtractionIfsException
- if the operation failsprotected AuditSpecification getNextParserHandler(InformationExtraction ext) throws IfsException
InformationExtractionHandlerDispatcher
getNextParserHandler
in class InformationExtractionHandlerDispatcher
ext
- the InformationExtractionIfsException
- if the operation failsprotected AuditSpecification getNextSolverHandler(InformationExtraction ext) throws IfsException
InformationExtractionHandlerDispatcher
getNextSolverHandler
in class InformationExtractionHandlerDispatcher
ext
- the InformationExtractionIfsException
- if the operation failsprotected AuditSpecification getNextFinisherHandler(InformationExtraction ext) throws IfsException
InformationExtractionHandlerDispatcher
getNextFinisherHandler
in class InformationExtractionHandlerDispatcher
ext
- the InformationExtractionIfsException
- if the operation failsprotected AuditSpecification getNextTrainerHandler(InformationExtraction ext) throws IfsException
InformationExtractionHandlerDispatcher
getNextTrainerHandler
in class InformationExtractionHandlerDispatcher
ext
- the InformationExtractionIfsException
- if the operation failsCopyright © 2023. All rights reserved.