Class SerializationMethodInvoker
- java.lang.Object
-
- com.thoughtworks.xstream.converters.reflection.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
-
-
Constructor Summary
Constructors Constructor Description SerializationMethodInvoker()
Deprecated.
-
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.
-
-
-
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 interfaceCaching
-
-