SerializableWrapper wrapper = (SerializableWrapper)target;
byte[] payload = wrapper.getPayload();
ByteArrayInputStream bais = new ByteArrayInputStream(payload);
ObjectInputStream ois = new ObjectInputStream(bais);
JBossObjectInputStream jbis = new JBossObjectInputStream(ois);
Object result = jbis.readObject();
return result;
}