de.phleisch.app.itsucks.persistence.impl
Class JAXBJobSerialization
java.lang.Object
de.phleisch.app.itsucks.persistence.impl.AbstractJobSerialization
de.phleisch.app.itsucks.persistence.impl.JAXBJobSerialization
- All Implemented Interfaces:
- JobSerialization, org.springframework.context.ApplicationContextAware
public class JAXBJobSerialization
- extends AbstractJobSerialization
- implements org.springframework.context.ApplicationContextAware, JobSerialization
This class implements the JobSerialization interface using the
default object.serialize feature.
- Author:
- olli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBJobSerialization
public JAXBJobSerialization()
serialize
public void serialize(SerializableJobPackage pJobList,
java.io.OutputStream pOutputStream)
throws java.lang.Exception
- Description copied from interface:
JobSerialization
- Serializes the given job list to the given output stream.
The list is only written to the stream, the stream will not be closed.
- Specified by:
serialize in interface JobSerialization
- Throws:
java.io.IOException
java.lang.Exception
deserialize
public SerializableJobPackage deserialize(java.io.InputStream pInputStream)
throws java.lang.Exception,
java.lang.ClassNotFoundException
- Description copied from interface:
JobSerialization
- Deserializes a job list from the given input stream.
- Specified by:
deserialize in interface JobSerialization
- Returns:
-
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
java.lang.Exception
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext pContext)
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
getBeanConverterManager
public BeanConverterManager getBeanConverterManager()
setBeanConverterManager
public void setBeanConverterManager(BeanConverterManager pBeanConverterManager)
Copyright © 2010. All Rights Reserved.