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.InitializingBean
Exception
public void serialize(Object context, OutputStream out) throws IOException
serialize
in interface org.springframework.core.serializer.Serializer
context
- out
- IOException
Serializer.serialize(Object, OutputStream)
public Object deserialize(InputStream in) throws IOException
deserialize
in interface org.springframework.core.serializer.Deserializer
in
- IOException
Deserializer.deserialize(InputStream)
Copyright © 2014 Pivotal. All rights reserved.