类 XStreamExecutionContextStringSerializer

  • 所有已实现的接口:
    ExecutionContextSerializer, org.springframework.beans.factory.InitializingBean, org.springframework.core.serializer.Deserializer<java.util.Map<java.lang.String,​java.lang.Object>>, org.springframework.core.serializer.Serializer<java.util.Map<java.lang.String,​java.lang.Object>>

    @Deprecated
    public class XStreamExecutionContextStringSerializer
    extends java.lang.Object
    implements ExecutionContextSerializer, org.springframework.beans.factory.InitializingBean
    已过时。
    Due to the incompatibilities between current Jettison versions and XStream versions, this serializer is deprecated in favor of Jackson2ExecutionContextStringSerializer
    Implementation that uses XStream and Jettison to provide serialization.
    从以下版本开始:
    2.0
    作者:
    Thomas Risberg, Michael Minella, Mahmoud Ben Hassine
    另请参阅:
    ExecutionContextSerializer
    • 方法概要

      所有方法 实例方法 具体方法 已过时的方法 
      修饰符和类型方法说明
      voidafterPropertiesSet()
      已过时。
       
      java.util.Map<java.lang.String,​java.lang.Object>deserialize​(java.io.InputStream in)
      已过时。
      Deserializes the supplied input stream into a new execution context.
      voidinit()
      已过时。
       
      voidserialize​(java.util.Map<java.lang.String,​java.lang.Object> context, java.io.OutputStream out)
      已过时。
      Serializes the passed execution context to the supplied OutputStream.
      voidsetHierarchicalStreamDriver​(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver)
      已过时。
       
      voidsetReflectionProvider​(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
      已过时。
       
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • setReflectionProvider

        public void setReflectionProvider​(com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider)
        已过时。
      • setHierarchicalStreamDriver

        public void setHierarchicalStreamDriver​(com.thoughtworks.xstream.io.HierarchicalStreamDriver hierarchicalStreamDriver)
        已过时。
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        已过时。
        指定者:
        afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean
        抛出:
        java.lang.Exception
      • init

        public void init()
                  throws java.lang.Exception
        已过时。
        抛出:
        java.lang.Exception
      • serialize

        public void serialize​(java.util.Map<java.lang.String,​java.lang.Object> context,
                              java.io.OutputStream out)
                       throws java.io.IOException
        已过时。
        Serializes the passed execution context to the supplied OutputStream.
        指定者:
        serialize 在接口中 org.springframework.core.serializer.Serializer<java.util.Map<java.lang.String,​java.lang.Object>>
        参数:
        context - Map containing the context information.
        out - OutputStream where the serialized context information will be written.
        抛出:
        java.io.IOException
        另请参阅:
        Serializer.serialize(Object, OutputStream)
      • deserialize

        public java.util.Map<java.lang.String,​java.lang.Object> deserialize​(java.io.InputStream in)
                                                                           throws java.io.IOException
        已过时。
        Deserializes the supplied input stream into a new execution context.
        指定者:
        deserialize 在接口中 org.springframework.core.serializer.Deserializer<java.util.Map<java.lang.String,​java.lang.Object>>
        参数:
        in - InputStream containing the information to be deserialized.
        返回:
        a reconstructed execution context
        抛出:
        java.io.IOException
        另请参阅:
        Deserializer.deserialize(InputStream)