Coverage Report - org.mule.transport.UnsupportedMessageDispatcher
 
Classes in this File Line Coverage Branch Coverage Complexity
UnsupportedMessageDispatcher
0%
0/7
N/A
1.333
 
 1  
 /*
 2  
  * $Id: UnsupportedMessageDispatcher.java 10961 2008-02-22 19:01:02Z dfeist $
 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;
 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 doDispose()
 36  
     {
 37  
         // empty
 38  0
     }
 39  
 
 40  
     protected void doConnect() throws Exception
 41  
     {
 42  
         // empty
 43  0
     }
 44  
 
 45  
     protected void doDisconnect() throws Exception
 46  
     {
 47  
         // empty
 48  0
     }
 49  
 
 50  
 }