@Override
      public Object read(Kryo kryo, Input input, Class type) {
        return hook.preRead(type)
            ? hook.postRead(old.read(kryo, input, type)) : old.read(kryo, input, type);
      }
Provides general-purpose hooks for specific types, as well as a global hook.
ql/src/java/org/apache/hadoop/hive/ql/exec/SerializationUtilities.java