KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > providers > http > servlet > ServletMessageReceiver


1 /*
2  * $Id: ServletMessageReceiver.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.providers.http.servlet;
12
13 import org.mule.providers.AbstractMessageReceiver;
14 import org.mule.umo.UMOComponent;
15 import org.mule.umo.endpoint.UMOEndpoint;
16 import org.mule.umo.lifecycle.InitialisationException;
17 import org.mule.umo.provider.UMOConnector;
18
19 /**
20  * <code>ServletMessageReceiver</code> is a receiver that is invoked from a Servlet
21  * when an event is received. There is a one-to-one mapping between a
22  * ServletMessageReceiver and a servlet in the serving webapp.
23  *
24  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
25  * @version $Revision: 3798 $
26  */

27
28 public class ServletMessageReceiver extends AbstractMessageReceiver
29 {
30     public ServletMessageReceiver(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint)
31         throws InitialisationException
32     {
33         super(connector, component, endpoint);
34     }
35
36     public void doConnect() throws Exception JavaDoc
37     {
38         // nothing to do
39
}
40
41     public void doDisconnect() throws Exception JavaDoc
42     {
43         // nothing to do
44
}
45 }
46
Popular Tags