Home » openjdk-7 » java » io » [javadoc | source]
java.io
static class: ObjectInputStream.ValidationList [javadoc | source]
java.lang.Object
   java.io.ObjectInputStream$ValidationList
Prioritized list of callbacks to be performed once object graph has been completely deserialized.
Constructor:
 ValidationList() 
Method from java.io.ObjectInputStream$ValidationList Summary:
clear,   doCallbacks,   register
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.io.ObjectInputStream$ValidationList Detail:
 public  void clear() 
    Resets the callback list to its initial (empty) state.
  void doCallbacks() throws InvalidObjectException 
    Invokes all registered callbacks and clears the callback list. Callbacks with higher priorities are called first; those with equal priorities may be called in any order. If any of the callbacks throws an InvalidObjectException, the callback process is terminated and the exception propagated upwards.
  void register(ObjectInputValidation obj,
    int priority) throws InvalidObjectException 
    Registers callback. Throws InvalidObjectException if callback object is null.