public Object get() throws IOException, ClassNotFoundException { if (serializedForm == null) return null; ByteArrayInputStream bais = new ByteArrayInputStream(serializedForm); MarshalledValueInputStream mvis = new MarshalledValueInputStream(bais); Object retValue = mvis.readObject(); mvis.close(); return retValue; }