Code example for ObjectInput

Methods: readObject

0
         output.writeObject(object.converter);
      } 
 
      @Override 
      public CacheEventConverterAsConverter readObject(ObjectInput input) throws IOException, ClassNotFoundException {
         return new CacheEventConverterAsConverter((CacheEventConverter)input.readObject());
      } 
 
      @Override 
      public Integer getId() {
         return Ids.CACHE_EVENT_CONVERTER_AS_CONVERTER; 
      } 
   } 
}