public interface Handler
| Modifier and Type | Method and Description |
|---|---|
void |
delegate(MessageContext aMessageContext) |
Handler |
getDelegate() |
String |
getName() |
void |
handle(Object anObjectToHandle) |
void |
handle(Object anObjectToHandle,
String expectedOutputType) |
boolean |
hasDelegateHandler() |
void |
invokeProcess(org.apache.uima.cas.CAS aCAS,
String casReferenceId1,
String aCasReferenceId2,
MessageContext aMessageContext,
String aNewCasProducedBy) |
boolean |
isHandlerForMessage(MessageContext aMessageContext,
int anExpectedMessageType,
int anExpectedCommand) |
void |
removeDelegate(String aHandlerName) |
void |
resequenceDelegateHandler(String aHandlerName,
int aNewPositionInHandlerChain) |
void |
setDelegate(Handler aHandler) |
void setDelegate(Handler aHandler)
Handler getDelegate()
void removeDelegate(String aHandlerName)
void resequenceDelegateHandler(String aHandlerName, int aNewPositionInHandlerChain)
void delegate(MessageContext aMessageContext) throws AsynchAEException
AsynchAEExceptionvoid invokeProcess(org.apache.uima.cas.CAS aCAS,
String casReferenceId1,
String aCasReferenceId2,
MessageContext aMessageContext,
String aNewCasProducedBy)
throws AsynchAEException
AsynchAEExceptionboolean isHandlerForMessage(MessageContext aMessageContext, int anExpectedMessageType, int anExpectedCommand) throws AsynchAEException
AsynchAEExceptionvoid handle(Object anObjectToHandle) throws AsynchAEException
AsynchAEExceptionvoid handle(Object anObjectToHandle, String expectedOutputType) throws AsynchAEException
AsynchAEExceptionboolean hasDelegateHandler()
String getName()
Copyright © 2016. All rights reserved.