Class SerializationMethodInvoker

java.lang.Object
com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker
All Implemented Interfaces:
Caching

public class SerializationMethodInvoker extends 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
  • Constructor Details

    • SerializationMethodInvoker

      public SerializationMethodInvoker()
      Deprecated.
  • Method Details

    • callReadResolve

      public Object callReadResolve(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 Object callWriteReplace(Object object)
      Deprecated.
      As of 1.4.8, moved into internal util package.
    • supportsReadObject

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

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

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

      public void callWriteObject(Class type, Object instance, 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