KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > providers > service > ConnectorServiceFinder


1 /*
2  * $Id: ConnectorServiceFinder.java 3798 2006-11-04 04:07:14Z aperepel $
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 MuleSource MPL
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>ConnectorServiceFinder</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  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

24 public interface ConnectorServiceFinder
25 {
26     ConnectorServiceDescriptor findService(String JavaDoc service, ConnectorServiceDescriptor csd)
27         throws ConnectorFactoryException;
28 }
29
Popular Tags