code: public Serializer getObjectSerializer(Class<?> cl)
          throws HessianProtocolException {
          Serializer serializer = getSerializer(cl);
  
          if (serializer instanceof ObjectSerializer)
              return ((ObjectSerializer) serializer).getObjectSerializer();
          else
              return serializer;
      }
docs: Returns the serializer for a class.
  
  @param cl the class of the object that needs to be serialized.
  @return a serializer object for the serialization.