Class SerialVersion


  • public class SerialVersion
    extends java.lang.Object
    Serialization version compatibility mode constants.

    Contains static constants and attributes to help with serialization versioning.

    Set the system property

    org.jboss.j2ee.LegacySerialization
    to serialization compatibility with jboss-4.0.1 and earlier. The serialVersionUID values were synched with the j2ee 1.4 ri classes and explicitly set in jboss-4.0.2 which is what
    Version:
    $Revision$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int JBOSS_402
      The serialization compatible with Sun's RI, jboss-4.0.2+
      static int LEGACY
      Legacy, jboss-4.0.1 through jboss-4.0.0
      static int version
      The serialization version to use
    • Constructor Summary

      Constructors 
      Constructor Description
      SerialVersion()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • LEGACY

        public static final int LEGACY
        Legacy, jboss-4.0.1 through jboss-4.0.0
        See Also:
        Constant Field Values
      • JBOSS_402

        public static final int JBOSS_402
        The serialization compatible with Sun's RI, jboss-4.0.2+
        See Also:
        Constant Field Values
      • version

        public static int version
        The serialization version to use
    • Constructor Detail

      • SerialVersion

        public SerialVersion()