|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.util.SpiUtils
Field Summary | |
static String |
SERVICE_ROOT
|
Method Summary | |
static Class |
findService(Class spi,
Class currentClass)
Find class implementing a specified SPI. |
static Class |
findService(Class spi,
Properties props,
Class currentClass)
Find class implementing a specified SPI. |
static Class |
findService(Class spi,
String defaultImpl,
Class currentClass)
Find class implementing a specified SPI. |
static Class |
findService(Class spi,
String propertyFileName,
String defaultImpl,
Class currentClass)
Find class implementing a specified SPI. |
static InputStream |
findServiceDescriptor(String path,
String name,
Class currentClass)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SERVICE_ROOT
Method Detail |
public static Class findService(Class spi, String propertyFileName, String defaultImpl, Class currentClass)
spi
- Service Provider Interface Class.propertyFileName
- is a location of a property file that contains the SPI
property valuedefaultImpl
- Default implementation class name.currentClass
- is used to include the classloader of the calling class in
the search. All system classloaders will be checked as well.
public static Class findService(Class spi, String defaultImpl, Class currentClass)
spi
- Service Provider Interface Class.defaultImpl
- Default implementation class name.currentClass
- is used to include the classloader of the calling class in
the search. All system classloaders will be checked as well.
public static Class findService(Class spi, Class currentClass)
spi
- Service Provider Interface Class.currentClass
- is used to include the classloader of the calling class in
the search. All system classloaders will be checked as well.
public static Class findService(Class spi, Properties props, Class currentClass)
spi
- Service Provider Interface Class.currentClass
- is used to include the classloader of the calling class in
the search.props
- The properties will be checked for an SPI property to use. this
will be the fully qualified SPI class name. All system classloaders
will be checked as well.
public static InputStream findServiceDescriptor(String path, String name, Class currentClass)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |