axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis MessageContext.java
Date Tue, 12 Jun 2001 22:24:09 GMT
gdaniels    01/06/12 15:24:09

  Modified:    java/src/org/apache/axis MessageContext.java
  Log:
  Place for sessions to live in the MessageContext.
  
  Session-aware Handlers or Listeners will drop an appropriate implementation
  in, and then everyone else uses the abstract interface.
  
  Revision  Changes    Path
  1.34      +19 -0     xml-axis/java/src/org/apache/axis/MessageContext.java
  
  Index: MessageContext.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/MessageContext.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- MessageContext.java	2001/06/12 15:43:00	1.33
  +++ MessageContext.java	2001/06/12 22:24:08	1.34
  @@ -65,6 +65,7 @@
   import org.apache.axis.registries.HandlerRegistry;
   import org.apache.axis.handlers.soap.SOAPService;
   import org.apache.axis.message.*;
  +import org.apache.axis.session.Session;
   
   /**
    * Some more general docs will go here.
  @@ -117,6 +118,11 @@
        * The AxisEngine which this context is involved with
        */
       private AxisEngine       axisEngine;
  +    
  +    /**
  +     * A Session associated with this request.
  +     */
  +    private Session          session;
   
       /**
        *
  @@ -157,6 +163,19 @@
   
       public void setServiceDescription(ServiceDescription serviceDesc) {
           this.serviceDesc = serviceDesc;
  +    }
  +    
  +    /**
  +     * Sessions
  +     */
  +    public Session getSession()
  +    {
  +        return session;
  +    }
  +    
  +    public void setSession(Session session)
  +    {
  +        this.session = session;
       }
   
       /**
  
  
  

Mime
View raw message