Package org.apache.uima.aae.handler
Interface Handler
- All Known Implementing Classes:
HandlerBase,MetadataRequestHandler_impl,MetadataResponseHandler_impl,ProcessRequestHandler_impl,ProcessResponseHandler
public interface Handler
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelegate(MessageContext aMessageContext) getName()voidvoidbooleanvoidinvokeProcess(org.apache.uima.cas.CAS aCAS, String casReferenceId1, String aCasReferenceId2, MessageContext aMessageContext, String aNewCasProducedBy) booleanisHandlerForMessage(MessageContext aMessageContext, int anExpectedMessageType, int anExpectedCommand) voidremoveDelegate(String aHandlerName) voidresequenceDelegateHandler(String aHandlerName, int aNewPositionInHandlerChain) voidsetDelegate(Handler aHandler)
-
Method Details
-
setDelegate
-
getDelegate
Handler getDelegate() -
removeDelegate
-
resequenceDelegateHandler
-
delegate
- Throws:
AsynchAEException
-
invokeProcess
void invokeProcess(org.apache.uima.cas.CAS aCAS, String casReferenceId1, String aCasReferenceId2, MessageContext aMessageContext, String aNewCasProducedBy) throws AsynchAEException - Throws:
AsynchAEException
-
isHandlerForMessage
boolean isHandlerForMessage(MessageContext aMessageContext, int anExpectedMessageType, int anExpectedCommand) throws AsynchAEException - Throws:
AsynchAEException
-
handle
- Throws:
AsynchAEException
-
handle
- Throws:
AsynchAEException
-
hasDelegateHandler
boolean hasDelegateHandler() -
getName
String getName()
-