|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.aae.spi.transport.vm.UimaVmMessageDispatcher
public class UimaVmMessageDispatcher
Uima message implementation of UimaMessageDispatcher. It uses a Java's Executor framework
to pass Uima messages to a collocated Uima AS service. Each message is processed in a seperate
thread provided by the Executor.
| Constructor Summary | |
|---|---|
UimaVmMessageDispatcher(java.util.concurrent.ThreadPoolExecutor anExecutor,
UimaMessageListener aListener,
java.lang.String aKey)
|
|
| Method Summary | |
|---|---|
void |
dispatch(UimaMessage message)
This method is responsible for adding a Uima message to a queue which is shared with a collocated service. |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UimaVmMessageDispatcher(java.util.concurrent.ThreadPoolExecutor anExecutor,
UimaMessageListener aListener,
java.lang.String aKey)
| Method Detail |
|---|
public void dispatch(UimaMessage message)
dispatch in interface UimaMessageDispatcherpublic void stop()
stop in interface UimaMessageDispatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||