@Override
public Deserializer getDeserializer(Class cl) throws HessianProtocolException {
//turns out Hessian uses its own (incorrect) serialization mechanism for maps
if (PersistentObjectMap.class.isAssignableFrom(cl)) {
if (mapDeserializer == null) {
mapDeserializer = new JavaDeserializer(cl);
}
return mapDeserializer;
}
if (PersistentObjectList.class.isAssignableFrom(cl)) {
if (listDeserializer == null) {
listDeserializer = new JavaDeserializer(cl);
}
return listDeserializer;
}
if(DataRow.class.isAssignableFrom(cl)) {