Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]
    1   /*
    2    * JBoss, the OpenSource J2EE webOS
    3    *
    4    * Distributable under LGPL license.
    5    * See terms of license at gnu.org.
    6    */
    7   
    8   // $Id: SerialisationResponseHandler.java,v 1.1.4.1 2002/09/12 16:18:04 cgjung Exp $
    9   
   10   package org.jboss.net.axis.server;
   11   
   12   import org.apache.axis.AxisFault;
   13   import org.apache.axis.MessageContext;
   14   import org.apache.axis.handlers.BasicHandler;
   15   
   16   /**
   17    * This handler is to force serialisation inside transaction and
   18    * security boundaries.
   19    * <br>
   20    * <h3>Change notes</h3>
   21    *   <ul>
   22    *   </ul>
   23    * @created  22.03.2002
   24    * @author <a href="mailto:Christoph.Jung@infor.de">Christoph G. Jung</a>
   25    * @version $Revision: 1.1.4.1 $
   26    */
   27   
   28   public class SerialisationResponseHandler extends BasicHandler {
   29      
   30      //
   31      // API
   32      //
   33   
   34      /**
   35       * force deserialisation by accessing the msgcontext.
   36       * @see Handler#invoke(MessageContext)
   37       */
   38      public void invoke(MessageContext msgContext) throws AxisFault {
   39         msgContext.getResponseMessage().getContentLength();
   40      }
   41   
   42   }

Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]