Uses of Class
org.apache.commons.discovery.DiscoveryException

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
<T> T
DiscoverSingleton.find(Class<T> spiClass)
          Find implementation of SPI.
<T,S extends T>
Class<S>
DiscoverClass.find(Class<T> spiClass)
          Find class implementing SPI.
static
<T> T
DiscoverSingleton.find(Class<T> spiClass, Properties properties)
          Find implementation of SPI.
<T,S extends T>
Class<S>
DiscoverClass.find(Class<T> spiClass, Properties properties)
          Find class implementing SPI.
static
<T> T
DiscoverSingleton.find(Class<T> spiClass, Properties properties, String defaultImpl)
          Find implementation of SPI.
<T,S extends T>
Class<S>
DiscoverClass.find(Class<T> spiClass, Properties properties, String defaultImpl)
          Find class implementing SPI.
static
<T> T
DiscoverSingleton.find(Class<T> spiClass, String defaultImpl)
          Find implementation of SPI.
<T,S extends T>
Class<S>
DiscoverClass.find(Class<T> spiClass, String defaultImpl)
          Find class implementing SPI.
static
<T> T
DiscoverSingleton.find(Class<T> spiClass, String propertiesFileName, String defaultImpl)
          Find implementation of SPI.
<T,S extends T>
Class<S>
DiscoverClass.find(Class<T> spiClass, String propertiesFileName, String defaultImpl)
          Find class implementing SPI.
static
<T> T
DiscoverSingleton.find(ClassLoaders loaders, SPInterface<T> spi, PropertiesHolder properties, DefaultClassHolder<T> defaultImpl)
          Find implementation of SPI.
static
<T,S extends T>
Class<S>
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.
<S extends T>
S
SPInterface.newInstance(Class<S> impl)
          Creates a new instance of the given SPI class.
<T> T
DiscoverClass.newInstance(Class<T> spiClass)
          Create new instance of class implementing SPI.
static
<T> T
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.
<T> T
DiscoverClass.newInstance(Class<T> spiClass, Properties properties)
          Create new instance of class implementing SPI.
<T> T
DiscoverClass.newInstance(Class<T> spiClass, Properties properties, String defaultImpl)
          Create new instance of class implementing SPI.
<T> T
DiscoverClass.newInstance(Class<T> spiClass, String defaultImpl)
          Create new instance of class implementing SPI.
<T> T
DiscoverClass.newInstance(Class<T> spiClass, String propertiesFileName, String defaultImpl)
          Create new instance of class implementing SPI.
static
<T> T
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.
 



Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.