public class XStreamExecutionContextStringSerializer extends java.lang.Object implements ExecutionContextSerializer, org.springframework.beans.factory.InitializingBean
ExecutionContextSerializer| Constructor and Description |
|---|
XStreamExecutionContextStringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
java.util.Map<java.lang.String,java.lang.Object> |
deserialize(java.io.InputStream in)
Deserializes the supplied input stream into a new execution context.
|
void |
init() |
void |
serialize(java.util.Map<java.lang.String,java.lang.Object> context,
java.io.OutputStream out)
Serializes the passed execution context to the supplied OutputStream.
|
void |
setHierarchicalStreamDriver(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver) |
void |
setReflectionProvider(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider) |
public XStreamExecutionContextStringSerializer()
public void setReflectionProvider(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
public void setHierarchicalStreamDriver(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void init()
throws java.lang.Exception
java.lang.Exceptionpublic void serialize(java.util.Map<java.lang.String,java.lang.Object> context,
java.io.OutputStream out)
throws java.io.IOException
serialize in interface org.springframework.core.serializer.Serializer<java.util.Map<java.lang.String,java.lang.Object>>context - out - java.io.IOExceptionSerializer.serialize(Object, OutputStream)public java.util.Map<java.lang.String,java.lang.Object> deserialize(java.io.InputStream in)
throws java.io.IOException
deserialize in interface org.springframework.core.serializer.Deserializer<java.util.Map<java.lang.String,java.lang.Object>>in - java.io.IOExceptionDeserializer.deserialize(InputStream)