Package com.attivio.util.serialization
Class AbstractPlatformMessageConverter
- java.lang.Object
-
- com.attivio.util.serialization.AbstractConverter
-
- com.attivio.util.serialization.AbstractPlatformMessageConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
- Direct Known Subclasses:
AbstractAttivioReflectionConverter
,AuthenticationRequestConverter
,AuthenticationResponseConverter
,BackupConverter
,BulkUpdateConverter
,CommitConverter
,DocumentListConverter
,ExceptionResponseConverter
,MessageListConverter
,MultiRegionContentMessageConverter
,OptimizeConverter
,PingConverter
,PingResponseConverter
,PropertiesMessageConverter
,QueryRequestConverter
,QueryResponseConverter
,QueryTrackConverter
,SchemaConverter
,ShutdownConverter
,ShutdownImmediatelyConverter
,StreamResponseConverter
,StringMessageConverter
public abstract class AbstractPlatformMessageConverter extends AbstractConverter
The abstract ESB message converter
-
-
Field Summary
Fields Modifier and Type Field Description protected static AttivioLogger
log
-
Fields inherited from class com.attivio.util.serialization.AbstractConverter
mapper, NULL
-
-
Constructor Summary
Constructors Constructor Description AbstractPlatformMessageConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
marshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Marshals a messagestatic void
unmarshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Unmarshals a message-
Methods inherited from class com.attivio.util.serialization.AbstractConverter
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, getAlias, getAlias, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getClass, getClass, getClassName, marshalArray, marshalArray, marshalArray2D, marshalIntArray, marshalIntArray, marshalList, marshalNode, marshalNode, marshalProperties, marshalProperties, readList, readSubObject, readThrowable, setMapper, unmarshalArray, unmarshalArray2D, unmarshalIntArray, unmarshalList, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalNode, unmarshalProperties, unmarshalProperty, unmarshalPropertyName, unmarshalPropertyValue, writeSubObject, writeSubObject, writeThrowable
-
-
-
-
Field Detail
-
log
protected static final AttivioLogger log
-
-
Method Detail
-
marshalMessage
public static void marshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Marshals a message- Parameters:
msg
- the messagewriter
- the writercontext
- the context
-
unmarshalMessage
public static void unmarshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Unmarshals a message- Parameters:
msg
- the messagereader
- the readercontext
- the context
-
-