|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DiscoveryException | |
---|---|
org.apache.commons.discovery.tools | Discovery tools implementations. |
Uses of DiscoveryException in org.apache.commons.discovery.tools |
---|
Methods in org.apache.commons.discovery.tools that throw DiscoveryException | ||
---|---|---|
static
|
DiscoverSingleton.find(Class<T> spiClass)
Find implementation of SPI. |
|
|
DiscoverClass.find(Class<T> spiClass)
Find class implementing SPI. |
|
static
|
DiscoverSingleton.find(Class<T> spiClass,
Properties properties)
Find implementation of SPI. |
|
|
DiscoverClass.find(Class<T> spiClass,
Properties properties)
Find class implementing SPI. |
|
static
|
DiscoverSingleton.find(Class<T> spiClass,
Properties properties,
String defaultImpl)
Find implementation of SPI. |
|
|
DiscoverClass.find(Class<T> spiClass,
Properties properties,
String defaultImpl)
Find class implementing SPI. |
|
static
|
DiscoverSingleton.find(Class<T> spiClass,
String defaultImpl)
Find implementation of SPI. |
|
|
DiscoverClass.find(Class<T> spiClass,
String defaultImpl)
Find class implementing SPI. |
|
static
|
DiscoverSingleton.find(Class<T> spiClass,
String propertiesFileName,
String defaultImpl)
Find implementation of SPI. |
|
|
DiscoverClass.find(Class<T> spiClass,
String propertiesFileName,
String defaultImpl)
Find class implementing SPI. |
|
static
|
DiscoverSingleton.find(ClassLoaders loaders,
SPInterface<T> spi,
PropertiesHolder properties,
DefaultClassHolder<T> defaultImpl)
Find implementation of SPI. |
|
static
|
DiscoverClass.find(ClassLoaders loaders,
SPInterface<T> spi,
PropertiesHolder properties,
DefaultClassHolder<T> defaultImpl)
Find class implementing SPI. |
|
static Resource |
ResourceUtils.getResource(Class<?> spi,
String resourceName,
ClassLoaders loaders)
Load the resource resourceName . |
|
static Properties |
ResourceUtils.loadProperties(Class<?> spi,
String propertiesFileName,
ClassLoaders classLoaders)
Load named property file, optionally qualified by spi's package name as per Class.getResource. |
|
|
SPInterface.newInstance(Class<S> impl)
Creates a new instance of the given SPI class. |
|
|
DiscoverClass.newInstance(Class<T> spiClass)
Create new instance of class implementing SPI. |
|
static
|
ClassUtils.newInstance(Class<T> impl,
Class<?>[] paramClasses,
Object[] params)
Creates a new instance of the input class using the following policy: if paramClasses or params is null,
the default constructor will be used;
the public constructor with paramClasses arguments type,
with params as arguments value, will be used.
|
|
|
DiscoverClass.newInstance(Class<T> spiClass,
Properties properties)
Create new instance of class implementing SPI. |
|
|
DiscoverClass.newInstance(Class<T> spiClass,
Properties properties,
String defaultImpl)
Create new instance of class implementing SPI. |
|
|
DiscoverClass.newInstance(Class<T> spiClass,
String defaultImpl)
Create new instance of class implementing SPI. |
|
|
DiscoverClass.newInstance(Class<T> spiClass,
String propertiesFileName,
String defaultImpl)
Create new instance of class implementing SPI. |
|
static
|
DiscoverClass.newInstance(ClassLoaders loaders,
SPInterface<T> spi,
PropertiesHolder properties,
DefaultClassHolder<T> defaultImpl)
Create new instance of class implementing SPI. |
|
static void |
ClassUtils.verifyAncestory(Class<?> spi,
Class<?> impl)
Throws exception if impl does not
implement or extend the SPI. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |