public class XStreamExecutionContextStringSerializer extends Object implements ExecutionContextStringSerializer, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
XStreamExecutionContextStringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Map<String,Object> |
deserialize(String context)
De-serialize the context from a string representation
|
void |
init() |
String |
serialize(Map<String,Object> context)
Serialize the context to a string representation
|
void |
setHierarchicalStreamDriver(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver) |
void |
setReflectionProvider(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider) |
public XStreamExecutionContextStringSerializer()
public String serialize(Map<String,Object> context)
ExecutionContextStringSerializerserialize in interface ExecutionContextStringSerializercontext - the object that should be serializedpublic Map<String,Object> deserialize(String context)
ExecutionContextStringSerializerdeserialize in interface ExecutionContextStringSerializercontext - the serialization string that should be de-serializedpublic void setReflectionProvider(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
public void setHierarchicalStreamDriver(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionCopyright © 2014 SpringSource. All rights reserved.