org.apache.uima.aae.spi.transport.vm
Class UimaVmMessage
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
org.apache.uima.aae.spi.transport.vm.UimaVmMessage
- All Implemented Interfaces:
- java.io.Serializable, java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>, java.util.Map<java.lang.String,java.lang.Object>, UimaMessage
public class UimaVmMessage
- extends java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
- implements UimaMessage
Wrapper for the Uima message. This wrapper is used for internal messaging between collocated Uima
AS service.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class java.util.concurrent.ConcurrentHashMap |
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, size, values |
Methods inherited from class java.util.AbstractMap |
clone, equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
UimaVmMessage
public UimaVmMessage()
addIntProperty
public void addIntProperty(java.lang.String aPropertyKey,
int value)
- Specified by:
addIntProperty
in interface UimaMessage
addLongProperty
public void addLongProperty(java.lang.String aPropertyKey,
long value)
- Specified by:
addLongProperty
in interface UimaMessage
addStringProperty
public void addStringProperty(java.lang.String aPropertyKey,
java.lang.String value)
- Specified by:
addStringProperty
in interface UimaMessage
containsProperty
public boolean containsProperty(java.lang.String propertyKey)
- Specified by:
containsProperty
in interface UimaMessage
getIntProperty
public int getIntProperty(java.lang.String propertyKey)
- Specified by:
getIntProperty
in interface UimaMessage
getStringProperty
public java.lang.String getStringProperty(java.lang.String propertyKey)
- Specified by:
getStringProperty
in interface UimaMessage
addStringCargo
public void addStringCargo(java.lang.String aCargo)
- Specified by:
addStringCargo
in interface UimaMessage
getStringCargo
public java.lang.String getStringCargo()
- Specified by:
getStringCargo
in interface UimaMessage
toMessageContext
public MessageContext toMessageContext(java.lang.String anEndpointName)
throws AsynchAEException
- Specified by:
toMessageContext
in interface UimaMessage
- Throws:
AsynchAEException
getLongProperty
public long getLongProperty(java.lang.String propertyKey)
- Specified by:
getLongProperty
in interface UimaMessage
addBooleanProperty
public void addBooleanProperty(java.lang.String aPropertyKey,
boolean value)
- Specified by:
addBooleanProperty
in interface UimaMessage
getBooleanProperty
public boolean getBooleanProperty(java.lang.String aPropertyKey)
- Specified by:
getBooleanProperty
in interface UimaMessage
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.AbstractMap<java.lang.String,java.lang.Object>
addObjectProperty
public void addObjectProperty(java.lang.String aPropertyKey,
java.lang.Object value)
- Specified by:
addObjectProperty
in interface UimaMessage
getObjectProperty
public java.lang.Object getObjectProperty(java.lang.String aPropertyKey)
- Specified by:
getObjectProperty
in interface UimaMessage
Copyright © 2012. All Rights Reserved.