KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > net > axis > server > SerialisationResponseHandler


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.4.6.1 2005/03/02 14:19:51 tdiesler Exp $
9

10 package org.jboss.net.axis.server;
11
12 import org.jboss.axis.AxisFault;
13 import org.jboss.axis.MessageContext;
14 import org.jboss.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.4.6.1 $
26  */

27
28 public class SerialisationResponseHandler extends BasicHandler
29 {
30
31    //
32
// API
33
//
34

35    /**
36     * force deserialisation by accessing the msgcontext.
37     * @see Handler#invoke(MessageContext)
38     */

39    public void invoke(MessageContext msgContext) throws AxisFault
40    {
41       msgContext.getResponseMessage().getContentLength();
42    }
43
44 }
Popular Tags