Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UnsupportedMessageRequester |
|
| 1.2;1.2 |
1 | /* | |
2 | * $Id: UnsupportedMessageRequester.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.MuleMessage; | |
14 | import org.mule.api.endpoint.InboundEndpoint; | |
15 | ||
16 | public final class UnsupportedMessageRequester extends AbstractMessageRequester | |
17 | { | |
18 | ||
19 | public UnsupportedMessageRequester(InboundEndpoint endpoint) | |
20 | { | |
21 | 0 | super(endpoint); |
22 | 0 | } |
23 | ||
24 | protected MuleMessage doRequest(long timeout) throws Exception | |
25 | { | |
26 | 0 | throw new UnsupportedOperationException("Request not supported for this transport"); |
27 | } | |
28 | ||
29 | protected void doDispose() | |
30 | { | |
31 | // empty | |
32 | 0 | } |
33 | ||
34 | protected void doConnect() throws Exception | |
35 | { | |
36 | // empty | |
37 | 0 | } |
38 | ||
39 | protected void doDisconnect() throws Exception | |
40 | { | |
41 | // empty | |
42 | 0 | } |
43 | ||
44 | } |