*/
public Object read(InputStream inputStream, Map metadata, int version) throws IOException, ClassNotFoundException
{
GZIPInputStream gzis = new GZIPInputStream(inputStream);
BufferedInputStream bis = new BufferedInputStream(gzis);
SerializationManager manager = SerializationStreamFactory.getManagerInstance(getSerializationType());
ObjectInputStream ois = manager.createInput(bis, getClassLoader());
if(wrappedUnMarshaller != null)
{
if (wrappedUnMarshaller instanceof VersionedUnMarshaller)
return ((VersionedUnMarshaller)wrappedUnMarshaller).read(ois, metadata, version);