Coverage Report - org.mule.providers.http.servlet.ServletMessageReceiver
 
Classes in this File Line Coverage Branch Coverage Complexity
ServletMessageReceiver
43%
3/7
N/A
1
 
 1  
 /*
 2  
  * $Id: ServletMessageReceiver.java 7963 2007-08-21 08:53:15Z dirk.olmes $
 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.providers.http.servlet;
 12  
 
 13  
 import org.mule.providers.AbstractMessageReceiver;
 14  
 import org.mule.umo.UMOComponent;
 15  
 import org.mule.umo.UMOException;
 16  
 import org.mule.umo.endpoint.UMOEndpoint;
 17  
 import org.mule.umo.lifecycle.InitialisationException;
 18  
 import org.mule.umo.provider.UMOConnector;
 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(UMOConnector connector, UMOComponent component, UMOEndpoint endpoint)
 29  
         throws InitialisationException
 30  
     {
 31  4
         super(connector, component, endpoint);
 32  4
     }
 33  
 
 34  
     protected void doDispose()
 35  
     {
 36  
         // template method
 37  4
     }
 38  
 
 39  
     protected void doConnect() throws Exception
 40  
     {
 41  
         // nothing to do
 42  0
     }
 43  
 
 44  
     protected void doDisconnect() throws Exception
 45  
     {
 46  
         // nothing to do
 47  0
     }
 48  
 
 49  
     protected void doStart() throws UMOException
 50  
     {
 51  
         // nothing to do
 52  0
     }
 53  
 
 54  
     protected void doStop() throws UMOException
 55  
     {
 56  
         // nothing to do
 57  0
     }
 58  
 
 59  
 }