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)
ExecutionContextStringSerializer
serialize
in interface ExecutionContextStringSerializer
context
- the object that should be serializedpublic Map<String,Object> deserialize(String context)
ExecutionContextStringSerializer
deserialize
in interface ExecutionContextStringSerializer
context
- 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.InitializingBean
Exception
Copyright © 2013 SpringSource. All rights reserved.