public class XStreamExecutionContextStringSerializer extends Object implements ExecutionContextSerializer, org.springframework.beans.factory.InitializingBean
ExecutionContextSerializer| Constructor and Description |
|---|
XStreamExecutionContextStringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Object |
deserialize(InputStream in)
Deserializes the supplied input stream into a new execution context.
|
void |
init() |
void |
serialize(Object context,
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 Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void serialize(Object context, OutputStream out) throws IOException
serialize in interface org.springframework.core.serializer.Serializercontext - out - IOExceptionSerializer.serialize(Object, OutputStream)public Object deserialize(InputStream in) throws IOException
deserialize in interface org.springframework.core.serializer.Deserializerin - IOExceptionDeserializer.deserialize(InputStream)Copyright © 2013. All Rights Reserved.