Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Handler |
|
| 1.0;1 |
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.soap.axis.transport.jms; | |
8 | ||
9 | import org.mule.transport.soap.axis.transport.VoidURLConnection; | |
10 | ||
11 | import java.net.URL; | |
12 | import java.net.URLConnection; | |
13 | ||
14 | /** | |
15 | * A Dummy Url handler for handling jms. This is needed becuase Axis uses | |
16 | * urlStreamHandlers to parse non-http urls. | |
17 | */ | |
18 | 0 | public class Handler extends java.net.URLStreamHandler |
19 | { | |
20 | protected URLConnection openConnection(URL url) | |
21 | { | |
22 | 0 | return new VoidURLConnection(url); |
23 | } | |
24 | } |