Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
TransportServiceFinder |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: TransportServiceFinder.java 7976 2007-08-21 14:26:13Z dirk.olmes $ | |
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.providers.service; | |
12 | ||
13 | /** | |
14 | * <code>TransportServiceFinder</code> can be used as a hook into the connector | |
15 | * service creation process to return the correct Service Descriptor for a given | |
16 | * service name. By default the service name is looked up directly, however a generic | |
17 | * service name might be used where the real service implementation will be used i.e. | |
18 | * in the case of a soap connector the finder could check the classpath for Axis or | |
19 | * Glue and return the correct descriptor. | |
20 | * | |
21 | */ | |
22 | public interface TransportServiceFinder | |
23 | { | |
24 | TransportServiceDescriptor findService(String service, TransportServiceDescriptor csd) | |
25 | throws TransportFactoryException; | |
26 | } |