sailfin
  1. sailfin
  2. SAILFIN-1729

Move getVersion() from HASession interface to Session super-interface to avoid unnecessary casts

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: b12
    • Component/s: session_replication
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      1,729

      Description

      Move getVersion() from com.sun.enterprise.ee.web.sessmgmt.HASession interface to
      its org.apache.catalina.Session super-interface, in order to avoid unnecessary
      casts. Note that org.apache.catalina.session.StandardSession already implements
      a getVersion() method, so exposing this method at the
      org.apache.catalina.Session interface (which StandardSession implements) makes
      sense.

        Activity

        Hide
        jluehe added a comment -

        Checking in appserv-webtier/src/java/org/apache/catalina/Session.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/Session.java,v <--
        Session.java
        new revision: 1.4.6.3; previous revision: 1.4.6.2
        done
        Checking in
        appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/HASession.java;
        /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/HASession.java,v
        <-- HASession.java
        new revision: 1.5.6.4; previous revision: 1.5.6.3
        done
        Checking in
        appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationAttributeStore.java;
        /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationAttributeStore.java,v
        <-- ReplicationAttributeStore.java
        new revision: 1.9.2.12; previous revision: 1.9.2.11
        done
        Checking in
        appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationManagerBase.java;
        /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationManagerBase.java,v
        <-- ReplicationManagerBase.java
        new revision: 1.31.2.67; previous revision: 1.31.2.66
        done
        Checking in
        appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationStore.java;
        /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationStore.java,v
        <-- ReplicationStore.java
        new revision: 1.20.2.27; previous revision: 1.20.2.26
        done

        Ported non-HA related portion of fix to GlassFish v3:

        Sending web/web-core/src/main/java/org/apache/catalina/Session.java
        Transmitting file data .
        Committed revision 26597.

        Show
        jluehe added a comment - Checking in appserv-webtier/src/java/org/apache/catalina/Session.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/catalina/Session.java,v <-- Session.java new revision: 1.4.6.3; previous revision: 1.4.6.2 done Checking in appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/HASession.java; /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/HASession.java,v <-- HASession.java new revision: 1.5.6.4; previous revision: 1.5.6.3 done Checking in appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationAttributeStore.java; /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationAttributeStore.java,v <-- ReplicationAttributeStore.java new revision: 1.9.2.12; previous revision: 1.9.2.11 done Checking in appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationManagerBase.java; /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationManagerBase.java,v <-- ReplicationManagerBase.java new revision: 1.31.2.67; previous revision: 1.31.2.66 done Checking in appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationStore.java; /cvs/glassfish/appserv-core-ee/http-session-persistence/src/java/com/sun/enterprise/ee/web/sessmgmt/ReplicationStore.java,v <-- ReplicationStore.java new revision: 1.20.2.27; previous revision: 1.20.2.26 done Ported non-HA related portion of fix to GlassFish v3: Sending web/web-core/src/main/java/org/apache/catalina/Session.java Transmitting file data . Committed revision 26597.

          People

          • Assignee:
            Scott Oaks
            Reporter:
            jluehe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: