Class ContextSerializerFactory

java.lang.Object
com.caucho.hessian.io.ContextSerializerFactory

public class ContextSerializerFactory extends Object
The classloader-specific Factory for returning serialization
  • Constructor Details

  • Method Details

    • create

      public static ContextSerializerFactory create()
    • create

      public static ContextSerializerFactory create(ClassLoader loader)
    • getClassLoader

      public ClassLoader getClassLoader()
    • getSerializer

      public Serializer getSerializer(String className)
      Returns the serializer for a given class.
    • getCustomSerializer

      public Serializer getCustomSerializer(Class cl)
      Returns a custom serializer the class
      Parameters:
      cl - the class of the object that needs to be serialized.
      Returns:
      a serializer object for the serialization.
    • getDeserializer

      public Deserializer getDeserializer(String className)
      Returns the deserializer for a given class.
    • getCustomDeserializer

      public Deserializer getCustomDeserializer(Class cl)
      Returns a custom deserializer the class
      Parameters:
      cl - the class of the object that needs to be deserialized.
      Returns:
      a deserializer object for the deserialization.