Uses of Class
org.apache.commons.discovery.resource.ClassLoaders

Packages that use ClassLoaders
org.apache.commons.discovery.resource Resources discovery catalog. 
org.apache.commons.discovery.resource.classes Classes resources discovery catalog. 
org.apache.commons.discovery.resource.names Properties resources discovery catalog. 
org.apache.commons.discovery.tools Discovery tools implementations. 
 

Uses of ClassLoaders in org.apache.commons.discovery.resource
 

Methods in org.apache.commons.discovery.resource that return ClassLoaders
static ClassLoaders ClassLoaders.getAppLoaders(Class<?> spi, Class<?> factory, boolean prune)
          Utility method.
protected  ClassLoaders ResourceDiscoverImpl.getClassLoaders()
          Returns the class loaders holder.
static ClassLoaders ClassLoaders.getLibLoaders(Class<?> spi, Class<?> factory, boolean prune)
          Utility method.
 

Methods in org.apache.commons.discovery.resource with parameters of type ClassLoaders
 void ResourceDiscoverImpl.setClassLoaders(ClassLoaders loaders)
          Specify set of class loaders to be used in searching.
 

Constructors in org.apache.commons.discovery.resource with parameters of type ClassLoaders
DiscoverResources(ClassLoaders classLoaders)
          Construct a new resource discoverer.
ResourceDiscoverImpl(ClassLoaders classLoaders)
          Construct a new resource discoverer.
 

Uses of ClassLoaders in org.apache.commons.discovery.resource.classes
 

Constructors in org.apache.commons.discovery.resource.classes with parameters of type ClassLoaders
DiscoverClasses(ClassLoaders classLoaders)
          Construct a new resource discoverer.
ResourceClassDiscoverImpl(ClassLoaders classLoaders)
          Construct a new resource discoverer.
 

Uses of ClassLoaders in org.apache.commons.discovery.resource.names
 

Constructors in org.apache.commons.discovery.resource.names with parameters of type ClassLoaders
DiscoverNamesInFile(ClassLoaders loaders)
          Construct a new resource discoverer.
DiscoverNamesInFile(ClassLoaders loaders, String prefix, String suffix)
          Construct a new resource discoverer.
DiscoverServiceNames(ClassLoaders loaders)
          Construct a new resource discoverer.
DiscoverServiceNames(ClassLoaders loaders, String prefix, String suffix)
          Construct a new resource discoverer.
 

Uses of ClassLoaders in org.apache.commons.discovery.tools
 

Methods in org.apache.commons.discovery.tools that return ClassLoaders
 ClassLoaders DiscoverClass.getClassLoaders(Class<?> spiClass)
          Return the class loaders holder for the given SPI.
 

Methods in org.apache.commons.discovery.tools with parameters of type ClassLoaders
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.
<S extends T>
Class<S>
DefaultClassHolder.getDefaultClass(SPInterface<T> spi, ClassLoaders loaders)
          Returns the default class, loading it if necessary and verifying that it implements the SPI (this forces the check, no way out..).
 Properties PropertiesHolder.getProperties(SPInterface<?> spi, ClassLoaders loaders)
          Returns the Properties instance, loaded if necessary from propertiesFileName.
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.
static
<T> T
DiscoverClass.newInstance(ClassLoaders loaders, SPInterface<T> spi, PropertiesHolder properties, DefaultClassHolder<T> defaultImpl)
          Create new instance of class implementing SPI.
static
<T,S extends T>
Enumeration<S>
Service.providers(SPInterface<T> spi, ClassLoaders loaders)
          This version lets you specify constructor arguments..
 

Constructors in org.apache.commons.discovery.tools with parameters of type ClassLoaders
DiscoverClass(ClassLoaders classLoaders)
          Create a class instance with dynamic environment (thread context class loader is determined on each call).
 



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