Coverage Report - org.mule.transport.UnsupportedMessageDispatcher
 
Classes in this File Line Coverage Branch Coverage Complexity
UnsupportedMessageDispatcher
0%
0/10
N/A
1.222
 
 1  
 /*
 2  
  * $Id: UnsupportedMessageDispatcher.java 20321 2010-11-24 15:21:24Z dfeist $
 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;
 12  
 
 13  
 import org.mule.api.MuleEvent;
 14  
 import org.mule.api.MuleMessage;
 15  
 import org.mule.api.endpoint.OutboundEndpoint;
 16  
 
 17  
 public final class UnsupportedMessageDispatcher extends AbstractMessageDispatcher
 18  
 {
 19  
 
 20  
     public UnsupportedMessageDispatcher(OutboundEndpoint endpoint)
 21  
     {
 22  0
         super(endpoint);
 23  0
     }
 24  
 
 25  
     protected void doDispatch(MuleEvent event) throws Exception
 26  
     {
 27  0
         throw new UnsupportedOperationException("Dispatch not supported for this transport.");
 28  
     }
 29  
 
 30  
     protected MuleMessage doSend(MuleEvent event) throws Exception
 31  
     {
 32  0
         throw new UnsupportedOperationException("Send not supported for this transport.");
 33  
     }
 34  
 
 35  
     protected void doInitialise()
 36  
     {
 37  
         // empty
 38  0
     }
 39  
 
 40  
     protected void doDispose()
 41  
     {
 42  
         // empty
 43  0
     }
 44  
 
 45  
     protected void doConnect() throws Exception
 46  
     {
 47  
         // empty
 48  0
     }
 49  
 
 50  
     protected void doDisconnect() throws Exception
 51  
     {
 52  
         // empty
 53  0
     }
 54  
 
 55  
     protected void doStart() 
 56  
     {
 57  
         // empty
 58  0
     }
 59  
 
 60  
     protected void doStop() 
 61  
     {
 62  
         // empty
 63  0
     }
 64  
 }