Coverage Report - org.mule.transport.servlet.ServletMessageReceiver
 
Classes in this File Line Coverage Branch Coverage Complexity
ServletMessageReceiver
43%
3/7
N/A
1
 
 1  
 /*
 2  
  * $Id: ServletMessageReceiver.java 12238 2008-07-06 22:13:50Z rossmason $
 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 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.endpoint.InboundEndpoint;
 15  
 import org.mule.api.lifecycle.CreateException;
 16  
 import org.mule.api.service.Service;
 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  
 
 26  
 public class ServletMessageReceiver extends AbstractMessageReceiver
 27  
 {
 28  
     public ServletMessageReceiver(Connector connector, Service service, InboundEndpoint endpoint)
 29  
             throws CreateException
 30  
     {
 31  
 
 32  2
         super(connector, service, endpoint);
 33  
 
 34  2
     }
 35  
 
 36  
     protected void doDispose()
 37  
     {
 38  
         // template method
 39  4
     }
 40  
 
 41  
     protected void doConnect() throws Exception
 42  
     {
 43  
         // nothing to do
 44  0
     }
 45  
 
 46  
     protected void doDisconnect() throws Exception
 47  
     {
 48  
         // nothing to do
 49  0
     }
 50  
 
 51  
     protected void doStart() throws MuleException
 52  
     {
 53  
         // nothing to do
 54  0
     }
 55  
 
 56  
     protected void doStop() throws MuleException
 57  
     {
 58  
         // nothing to do
 59  0
     }
 60  
 
 61  
 }