Class SerializationMethodInvoker

  • All Implemented Interfaces:
    Caching

    public class SerializationMethodInvoker
    extends java.lang.Object
    implements Caching
    Deprecated.
    As of 1.4.8, moved into internal util package.
    Convenience wrapper to invoke special serialization methods on objects (and perform reflection caching).
    Author:
    Joe Walnes, Jörg Schaible
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void callReadObject​(java.lang.Class type, java.lang.Object object, java.io.ObjectInputStream stream)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      java.lang.Object callReadResolve​(java.lang.Object result)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      void callWriteObject​(java.lang.Class type, java.lang.Object instance, java.io.ObjectOutputStream stream)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      java.lang.Object callWriteReplace​(java.lang.Object object)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      void flushCache()
      Deprecated.
      As of 1.4.8, moved into internal util package.
      boolean supportsReadObject​(java.lang.Class type, boolean includeBaseClasses)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      boolean supportsWriteObject​(java.lang.Class type, boolean includeBaseClasses)
      Deprecated.
      As of 1.4.8, moved into internal util package.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializationMethodInvoker

        public SerializationMethodInvoker()
        Deprecated.
    • Method Detail

      • callReadResolve

        public java.lang.Object callReadResolve​(java.lang.Object result)
        Deprecated.
        As of 1.4.8, moved into internal util package.
        Resolves an object as native serialization does by calling readResolve(), if available.
      • callWriteReplace

        public java.lang.Object callWriteReplace​(java.lang.Object object)
        Deprecated.
        As of 1.4.8, moved into internal util package.
      • supportsReadObject

        public boolean supportsReadObject​(java.lang.Class type,
                                          boolean includeBaseClasses)
        Deprecated.
        As of 1.4.8, moved into internal util package.
      • callReadObject

        public void callReadObject​(java.lang.Class type,
                                   java.lang.Object object,
                                   java.io.ObjectInputStream stream)
        Deprecated.
        As of 1.4.8, moved into internal util package.
      • supportsWriteObject

        public boolean supportsWriteObject​(java.lang.Class type,
                                           boolean includeBaseClasses)
        Deprecated.
        As of 1.4.8, moved into internal util package.
      • callWriteObject

        public void callWriteObject​(java.lang.Class type,
                                    java.lang.Object instance,
                                    java.io.ObjectOutputStream stream)
        Deprecated.
        As of 1.4.8, moved into internal util package.
      • flushCache

        public void flushCache()
        Deprecated.
        As of 1.4.8, moved into internal util package.
        Specified by:
        flushCache in interface Caching