org.mule.util
Class SpiUtils
java.lang.Object
org.mule.util.SpiUtils
public class SpiUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_ROOT
public static final String SERVICE_ROOT
- See Also:
- Constant Field Values
PROVIDER_SERVICE_PATH
@Deprecated
public static final String PROVIDER_SERVICE_PATH
- Deprecated. use {@link #TRANSPORT_SERVICE_PATH
- See Also:
- Constant Field Values
TRANSPORT_SERVICE_PATH
public static final String TRANSPORT_SERVICE_PATH
- See Also:
- Constant Field Values
EXCEPTION_SERVICE_PATH
public static final String EXCEPTION_SERVICE_PATH
- See Also:
- Constant Field Values
SpiUtils
public SpiUtils()
findServiceDescriptor
public static Properties findServiceDescriptor(String type,
String name)
findServiceDescriptor
public static Properties findServiceDescriptor(String path,
String name,
Class currentClass)
findServiceDescriptor
public static Properties findServiceDescriptor(String path,
String name,
Class currentClass,
boolean fallbackToNonPreferred)
- Parameters:
fallbackToNonPreferred
- whether the search should attempt the preferred-xxx.properties lookup
logTsdDeprecationWarning
protected static void logTsdDeprecationWarning(String transport)
- Log a deprecation warning when a Transport Service Descriptor was located in old location
(META-INF/service/org/mule/providers).
- Parameters:
transport
- - transport name
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.