public class InterMediaAnnotationHandler extends AuditEventHandlerAdapter
| Modifier and Type | Field and Description | 
|---|---|
static String | 
NODE_PROPERTY_NAME_ORACLE_HOME
Node property Name for the Oracle Home setting. 
 | 
static String | 
PROPERTY_NAME_ANNOTATOR_TRACELEVEL
Handler Property Name for the Annotator TraceLevel. 
 | 
static String | 
PROPERTY_NAME_CLASSMAP_VALUES
Handler property Name for the Class mappings. 
 | 
static String | 
PROPERTY_NAME_INDEXABLE_ATTRIBUTES
Handler property Name for the Indexable attributes. 
 | 
static String | 
PROPERTY_NAME_INTERMEDIAANNOTATOR_CLASSNAME
Handler property Name for name of the InterMediaAnnotator Class. 
 | 
DEFAULT_BATCHSIZE| Constructor and Description | 
|---|
InterMediaAnnotationHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
handleAnnotationRequests(AuditEventHandlerContext context,
                        LibrarySession session)
Handle events by performing the requested operations. 
 | 
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. 
 | 
protected void | 
processEvent(AuditEventHandlerContext context,
            LibrarySession session,
            AuditEvent event)
Process an event. 
 | 
deleteEvents, getAuditHandlerSpecification, getAuditSpecification, getHandlerProperty, handleDispose, markProcessingCompleted, markProcessingStarted, processEvent, processEvents, processEvents, processEvents, selectEvents, selectEvents, selectMaximumEventId, setHandlerProperty, setProcessingStartedpublic static final String PROPERTY_NAME_ANNOTATOR_TRACELEVEL
public static final String PROPERTY_NAME_INDEXABLE_ATTRIBUTES
public static final String PROPERTY_NAME_CLASSMAP_VALUES
public static final String PROPERTY_NAME_INTERMEDIAANNOTATOR_CLASSNAME
public static final String NODE_PROPERTY_NAME_ORACLE_HOME
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 handleEventPosted(AuditEventHandlerContext context) throws Exception
AuditEventHandlerAdapterhandleEventPosted in interface AuditEventHandlerhandleEventPosted 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 failsprotected void handleAnnotationRequests(AuditEventHandlerContext context, LibrarySession session) throws IfsException
context - the AuditEventHandlerContext to use for processingsession - the session contextIfsException - if the operation failsprotected void processEvent(AuditEventHandlerContext context, LibrarySession session, AuditEvent event)
Delete the event after processing.
context - the AuditEventHandlerContext to use for processingsession - the session contextevent - the event to processCopyright © 2025. All rights reserved.