Search in sources :

Example 1 with Deserializer

use of com.caucho.hessian.io.Deserializer in project cayenne by apache.

the class CayenneSerializerFactory method getDeserializer.

@Override
public Deserializer getDeserializer(Class cl) throws HessianProtocolException {
    for (int i = 0; _factories != null && i < _factories.size(); i++) {
        AbstractSerializerFactory factory;
        factory = (AbstractSerializerFactory) _factories.get(i);
        Deserializer deserializer = factory.getDeserializer(cl);
        if (deserializer != null) {
            return deserializer;
        }
    }
    return super.getDeserializer(cl);
}
Also used : AbstractSerializerFactory(com.caucho.hessian.io.AbstractSerializerFactory) Deserializer(com.caucho.hessian.io.Deserializer)

Aggregations

AbstractSerializerFactory (com.caucho.hessian.io.AbstractSerializerFactory)1 Deserializer (com.caucho.hessian.io.Deserializer)1