Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ServletMessageReceiver |
|
| 0.0;0 |
1 | /* | |
2 | * $Id: ServletMessageReceiver.java 19191 2010-08-25 21:05:23Z tcarlson $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
10 | ||
11 | package org.mule.transport.servlet; | |
12 | ||
13 | import org.mule.api.MuleException; | |
14 | import org.mule.api.construct.FlowConstruct; | |
15 | import org.mule.api.endpoint.InboundEndpoint; | |
16 | import org.mule.api.lifecycle.CreateException; | |
17 | import org.mule.api.transport.Connector; | |
18 | import org.mule.transport.AbstractMessageReceiver; | |
19 | ||
20 | /** | |
21 | * <code>ServletMessageReceiver</code> is a receiver that is invoked from a Servlet | |
22 | * when an event is received. There is a one-to-one mapping between a | |
23 | * ServletMessageReceiver and a servlet in the serving webapp. | |
24 | */ | |
25 | public class ServletMessageReceiver extends AbstractMessageReceiver | |
26 | { | |
27 | public ServletMessageReceiver(Connector connector, FlowConstruct flowConstruct, InboundEndpoint endpoint) | |
28 | throws CreateException | |
29 | { | |
30 | 0 | super(connector, flowConstruct, endpoint); |
31 | 0 | } |
32 | ||
33 | @Override | |
34 | protected void doDispose() | |
35 | { | |
36 | // template method | |
37 | 0 | } |
38 | ||
39 | @Override | |
40 | protected void doConnect() throws Exception | |
41 | { | |
42 | // nothing to do | |
43 | 0 | } |
44 | ||
45 | @Override | |
46 | protected void doDisconnect() throws Exception | |
47 | { | |
48 | // nothing to do | |
49 | 0 | } |
50 | ||
51 | @Override | |
52 | protected void doStart() throws MuleException | |
53 | { | |
54 | // nothing to do | |
55 | 0 | } |
56 | ||
57 | @Override | |
58 | protected void doStop() throws MuleException | |
59 | { | |
60 | // nothing to do | |
61 | 0 | } |
62 | } |