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