A C D E F G H I J L M N O P R S T V W _

A

addClassLoader(ClassLoader) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Specify a new class loader to be used in searching.
addClassToPropertyNameMapping(String, String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInAlternateManagedProperties
Add a class name/property name mapping.
addResource(String, String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Add a resource name to a single name mapping.
addResource(String, String[]) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Add a resource name to multiple names mapping.
addResourceNameDiscover(ResourceNameDiscover) - Method in class org.apache.commons.discovery.resource.names.NameDiscoverers
Specify an discover to be used in searching.

C

ClassLoaders - Class in org.apache.commons.discovery.resource
There are many different contexts in which loaders can be used.
ClassLoaders() - Constructor for class org.apache.commons.discovery.resource.ClassLoaders
Construct a new class loader set.
classLoaders - Variable in class org.apache.commons.discovery.resource.ClassLoaders
 
ClassUtils - Class in org.apache.commons.discovery.tools
Various utilities to interact with Class types.
ClassUtils() - Constructor for class org.apache.commons.discovery.tools.ClassUtils
 

D

dateFormatter - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Used to format times
debug(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with debug log level.
debug(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with debug log level.
DefaultClassHolder<T> - Class in org.apache.commons.discovery.tools
Holder for a default class.
DefaultClassHolder(Class<S>) - Constructor for class org.apache.commons.discovery.tools.DefaultClassHolder
Creates a new holder implementation given the input SPI implementation/extension class.
DefaultClassHolder(String) - Constructor for class org.apache.commons.discovery.tools.DefaultClassHolder
Creates a new holder implementation given the input SPI implementation/extension class name.
DiscoverClass - Class in org.apache.commons.discovery.tools
Discover class that implements a given service interface, with discovery and configuration features similar to that employed by standard Java APIs such as JAXP.
DiscoverClass() - Constructor for class org.apache.commons.discovery.tools.DiscoverClass
Create a class instance with dynamic environment (thread context class loader is determined on each call).
DiscoverClass(ClassLoaders) - Constructor for class org.apache.commons.discovery.tools.DiscoverClass
Create a class instance with dynamic environment (thread context class loader is determined on each call).
DiscoverClasses<T> - Class in org.apache.commons.discovery.resource.classes
The findResources() method will check every loader.
DiscoverClasses() - Constructor for class org.apache.commons.discovery.resource.classes.DiscoverClasses
Construct a new resource discoverer
DiscoverClasses(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.classes.DiscoverClasses
Construct a new resource discoverer.
discoverClassNames(SPInterface<T>, Properties) - Static method in class org.apache.commons.discovery.tools.DiscoverClass
Discover names of SPI implementation Classes from properties.
DiscoverMappedNames - Class in org.apache.commons.discovery.resource.names
Recover resource name from Managed Properties, using OLD property names.
DiscoverMappedNames() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverMappedNames
Construct a new resource discoverer
DiscoverNamesInAlternateManagedProperties - Class in org.apache.commons.discovery.resource.names
Recover resource name from Managed Properties, using OLD property names.
DiscoverNamesInAlternateManagedProperties() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInAlternateManagedProperties
Construct a new resource discoverer.
DiscoverNamesInDictionary - Class in org.apache.commons.discovery.resource.names
Recover resources from a Dictionary.
DiscoverNamesInDictionary() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Construct a new resource discoverer with an empty Dictionary.
DiscoverNamesInDictionary(Dictionary<String, String[]>) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Construct a new resource discoverer with the given Dictionary.
DiscoverNamesInFile - Class in org.apache.commons.discovery.resource.names
Discover ALL files of a given name, and return resource names contained within the set of files: one resource name per line, whitespace ignored, comments begin with '#' Default discoverer is DiscoverClassLoaderResources, but it can be set to any other.
DiscoverNamesInFile() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInFile(String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInFile(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInFile(ClassLoaders, String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInFile(ResourceDiscover) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInFile(ResourceDiscover, String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Construct a new resource discoverer.
DiscoverNamesInManagedProperties - Class in org.apache.commons.discovery.resource.names
Recover resource name from Managed Properties.
DiscoverNamesInManagedProperties() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInManagedProperties
Construct a new resource discoverer.
DiscoverNamesInManagedProperties(String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInManagedProperties
Construct a new resource discoverer.
DiscoverNamesInSystemProperties - Class in org.apache.commons.discovery.resource.names
Recover resource name from System Properties.
DiscoverNamesInSystemProperties() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverNamesInSystemProperties
Construct a new resource discoverer
DiscoverResources - Class in org.apache.commons.discovery.resource
 
DiscoverResources() - Constructor for class org.apache.commons.discovery.resource.DiscoverResources
Construct a new resource discoverer.
DiscoverResources(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.DiscoverResources
Construct a new resource discoverer.
DiscoverServiceNames - Class in org.apache.commons.discovery.resource.names
Provide JDK 1.3 style service discovery...
DiscoverServiceNames() - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new service discoverer.
DiscoverServiceNames(String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new resource discoverer.
DiscoverServiceNames(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new resource discoverer.
DiscoverServiceNames(ClassLoaders, String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new resource discoverer.
DiscoverServiceNames(ResourceDiscover) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new service discoverer.
DiscoverServiceNames(ResourceDiscover, String, String) - Constructor for class org.apache.commons.discovery.resource.names.DiscoverServiceNames
Construct a new service discoverer.
DiscoverSingleton - Class in org.apache.commons.discovery.tools
Discover singleton service providers.
DiscoverSingleton() - Constructor for class org.apache.commons.discovery.tools.DiscoverSingleton
 
DiscoveryException - Exception in org.apache.commons.discovery
An exception that is thrown only if a suitable service instance cannot be created by ServiceFactory.
DiscoveryException() - Constructor for exception org.apache.commons.discovery.DiscoveryException
Construct a new exception with null as its detail message.
DiscoveryException(String) - Constructor for exception org.apache.commons.discovery.DiscoveryException
Construct a new exception with the specified detail message.
DiscoveryException(Throwable) - Constructor for exception org.apache.commons.discovery.DiscoveryException
Construct a new exception with the specified cause and a derived detail message.
DiscoveryException(String, Throwable) - Constructor for exception org.apache.commons.discovery.DiscoveryException
Construct a new exception with the specified detail message and cause.
DiscoveryLogFactory - Class in org.apache.commons.discovery.log
Deprecated. Starting from commons-discovery-05, Log is totally delegated to commons-logging
DiscoveryLogFactory() - Constructor for class org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated.  

E

EnvironmentCache - Class in org.apache.commons.discovery.tools
Cache by a 'key' unique to the environment: - ClassLoader::groupContext::Object Cache Cache : HashMap Key : Thread Context Class Loader (ClassLoader) Value : groupContext::SPI Cache (HashMap) //- groupContext::Object Cache // Cache : HashMap // Key : groupContext (String) // Value : Object When we 'release', it is expected that the caller of the 'release' have the same thread context class loader...
EnvironmentCache() - Constructor for class org.apache.commons.discovery.tools.EnvironmentCache
 
error(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with error log level.
error(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with error log level.
execute() - Method in class org.apache.commons.discovery.ant.ServiceDiscoveryTask
Executes the Apache Ant task, discovering the set service name

F

fatal(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with fatal log level.
fatal(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with fatal log level.
find(Class<T>) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(Class<T>, Properties) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(Class<T>, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(Class<T>, Properties, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(Class<T>, String, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(ClassLoaders, SPInterface<T>, PropertiesHolder, DefaultClassHolder<T>) - Static method in class org.apache.commons.discovery.tools.DiscoverClass
Find class implementing SPI.
find(Class<T>) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
find(Class<T>, Properties) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
find(Class<T>, String) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
find(Class<T>, Properties, String) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
find(Class<T>, String, String) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
find(ClassLoaders, SPInterface<T>, PropertiesHolder, DefaultClassHolder<T>) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Find implementation of SPI.
findPublicStaticMethod(Class<?>, Class<?>, String, Class<?>[]) - Static method in class org.apache.commons.discovery.tools.ClassUtils
Looks for public static returnType methodName(paramTypes).
findResourceClasses(String) - Method in class org.apache.commons.discovery.resource.classes.DiscoverClasses
Locate class resources that are bound to className.
findResourceClasses(String) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate class resources that are bound to className.
findResourceClasses(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate class resources that are bound to resourceNames.
findResourceClasses(String) - Method in interface org.apache.commons.discovery.ResourceClassDiscover
Locate class resources that are bound to className.
findResourceClasses(ResourceNameIterator) - Method in interface org.apache.commons.discovery.ResourceClassDiscover
Locate class resources that are bound to resourceNames.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate names of resources that are bound to resourceName.
findResourceNames(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate names of resources that are bound to inputNames.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverMappedNames
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInAlternateManagedProperties
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInManagedProperties
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInSystemProperties
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.NameDiscoverers
Locate names of resources that are bound to resourceName.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
Locate names of resources that are bound to resourceName.
findResourceNames(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
Locate names of resources that are bound to inputNames.
findResourceNames(String) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Locate names of resources that are bound to resourceName.
findResourceNames(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Locate names of resources that are bound to inputNames.
findResourceNames(String) - Method in interface org.apache.commons.discovery.ResourceNameDiscover
Locate names of resources that are bound to resourceName.
findResourceNames(ResourceNameIterator) - Method in interface org.apache.commons.discovery.ResourceNameDiscover
Locate names of resources that are bound to resourceNames.
findResources(String) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate resources that are bound to resourceName.
findResources(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Locate resources that are bound to resourceNames.
findResources(String) - Method in class org.apache.commons.discovery.resource.DiscoverResources
Locate resources that are bound to resourceName.
findResources(String) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Locate resources that are bound to resourceName.
findResources(ResourceNameIterator) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Locate resources that are bound to resourceNames.
findResources(String) - Method in interface org.apache.commons.discovery.ResourceDiscover
Locate resources that are bound to resourceName.
findResources(ResourceNameIterator) - Method in interface org.apache.commons.discovery.ResourceDiscover
Locate resources that are bound to resourceNames.

G

get(int) - Method in class org.apache.commons.discovery.resource.ClassLoaders
Returns the class loader positioned at the given index.
get(ClassLoader) - Static method in class org.apache.commons.discovery.tools.EnvironmentCache
Get object keyed by classLoader.
getAppLoaders(Class<?>, Class<?>, boolean) - Static method in class org.apache.commons.discovery.resource.ClassLoaders
Utility method.
getClassLoader() - Method in class org.apache.commons.discovery.Resource
Get the value of loader.
getClassLoaders() - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Returns the class loaders holder.
getClassLoaders(Class<?>) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Return the class loaders holder for the given SPI.
getDefaultClass(SPInterface<T>, ClassLoaders) - Method in class org.apache.commons.discovery.tools.DefaultClassHolder
Returns the default class, loading it if necessary and verifying that it implements the SPI (this forces the check, no way out..).
getDefaultName() - Method in class org.apache.commons.discovery.tools.DefaultClassHolder
Returns the hold class name.
getDictionary() - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Returns the current Dictionary for names mapping.
getDiscover() - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Return the discoverer to resolve resources.
getJDKHooks() - Static method in class org.apache.commons.discovery.jdk.JDKHooks
Return singleton object representing JVM hooks/tools.
getLevel() - Static method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Get logging level.
getLibLoaders(Class<?>, Class<?>, boolean) - Static method in class org.apache.commons.discovery.resource.ClassLoaders
Utility method.
getManagedProperty(String) - Static method in class org.apache.commons.discovery.tools.DiscoverClass
Load the class whose name is given by the value of a (Managed) System Property.
getName() - Method in class org.apache.commons.discovery.Resource
Get the value of resourceName.
getPackageName(Class<?>) - Static method in class org.apache.commons.discovery.tools.ClassUtils
Get package name.
getPackageName(Class<?>) - Static method in class org.apache.commons.discovery.tools.ResourceUtils
Get package name.
getProperties() - Static method in class org.apache.commons.discovery.tools.ManagedProperties
This is an expensive operation.
getProperties(SPInterface<?>, ClassLoaders) - Method in class org.apache.commons.discovery.tools.PropertiesHolder
Returns the Properties instance, loaded if necessary from propertiesFileName.
getPropertiesFileName() - Method in class org.apache.commons.discovery.tools.PropertiesHolder
Returns the property file name
getProperty(String) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Get value for property bound to the current thread context class loader.
getProperty(String, String) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Get value for property bound to the current thread context class loader.
getProperty(ClassLoader, String) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Get value for property bound to the class loader.
getProperty(ClassLoader, String, String) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Get value for property bound to the class loader.
getPropertyName() - Method in class org.apache.commons.discovery.tools.SPInterface
Returns the property name to be used for finding the name of the SPI implementation class.
getResource() - Method in class org.apache.commons.discovery.Resource
Get the value of URL.
getResource(Class<?>, String, ClassLoaders) - Static method in class org.apache.commons.discovery.tools.ResourceUtils
Load the resource resourceName.
getResourceAsStream() - Method in class org.apache.commons.discovery.Resource
Get the value of URL.
getResourceNameDiscover(int) - Method in class org.apache.commons.discovery.resource.names.NameDiscoverers
Retrieve the discover positioned at the given index.
getResources(ClassLoader, String) - Method in class org.apache.commons.discovery.jdk.JDK11Hooks
Resolve resource with given names and make them available in the returned iterator.
getResources(ClassLoader, String) - Method in class org.apache.commons.discovery.jdk.JDK12Hooks
Resolve resource with given names and make them available in the returned iterator.
getResources(ClassLoader, String) - Method in class org.apache.commons.discovery.jdk.JDKHooks
Resolve resource with given names and make them available in the returned iterator.
getServiceInfo() - Method in class org.apache.commons.discovery.ant.ServiceDiscoveryTask
Returns the discovered SPIs name.
getSPClass() - Method in class org.apache.commons.discovery.tools.SPInterface
Returns the SPI class.
getSPName() - Method in class org.apache.commons.discovery.tools.SPInterface
Returns the SPI class name.
getSystemClassLoader() - Method in class org.apache.commons.discovery.jdk.JDK11Hooks
The system class loader is available for JDK 1.2 or later, if certain security conditions are met.
getSystemClassLoader() - Method in class org.apache.commons.discovery.jdk.JDK12Hooks
The system class loader is available for JDK 1.2 or later, if certain security conditions are met.
getSystemClassLoader() - Method in class org.apache.commons.discovery.jdk.JDKHooks
The system class loader is available for JDK 1.2 or later, if certain security conditions are met.
getSystemProperty(String) - Method in class org.apache.commons.discovery.jdk.JDK11Hooks
Get the system property
getSystemProperty(String) - Method in class org.apache.commons.discovery.jdk.JDK12Hooks
Get the system property
getSystemProperty(String) - Method in class org.apache.commons.discovery.jdk.JDKHooks
Get the system property
getThreadContextClassLoader() - Method in class org.apache.commons.discovery.jdk.JDK11Hooks
The thread context class loader is available for JDK 1.2 or later, if certain security conditions are met.
getThreadContextClassLoader() - Method in class org.apache.commons.discovery.jdk.JDK12Hooks
The thread context class loader is available for JDK 1.2 or later, if certain security conditions are met.
getThreadContextClassLoader() - Method in class org.apache.commons.discovery.jdk.JDKHooks
The thread context class loader is available for JDK 1.2 or later, if certain security conditions are met.

H

hasNext() - Method in interface org.apache.commons.discovery.ResourceNameIterator
Returns true if the iteration has more elements.

I

info(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with info log level.
info(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with info log level.
isAncestor(ClassLoader) - Method in class org.apache.commons.discovery.resource.ClassLoaders
Check to see if classLoader is an ancestor of any contained class loader.
isDebugEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are debug messages currently enabled?
isErrorEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are error messages currently enabled?
isFatalEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are fatal messages currently enabled?
isInfoEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are info messages currently enabled?
isLevelEnabled(int) - Static method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Is the given log level currently enabled?
isTraceEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are trace messages currently enabled?
isWarnEnabled() - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Are warn messages currently enabled?

J

JDK11Hooks - Class in org.apache.commons.discovery.jdk
JDK 1.1 Style Hooks implementation.
JDK11Hooks() - Constructor for class org.apache.commons.discovery.jdk.JDK11Hooks
 
JDK12Hooks - Class in org.apache.commons.discovery.jdk
JDK 1.2 Style Hooks implementation.
JDK12Hooks() - Constructor for class org.apache.commons.discovery.jdk.JDK12Hooks
 
JDKHooks - Class in org.apache.commons.discovery.jdk
JDK Hooks to extract properties/resources.
JDKHooks() - Constructor for class org.apache.commons.discovery.jdk.JDKHooks
Hidden constructor, this class can't be directly instantiated.

L

loadClass() - Method in class org.apache.commons.discovery.ResourceClass
Get the value of resourceClass.
loader - Variable in class org.apache.commons.discovery.Resource
 
loadProperties(Class<?>, String, ClassLoaders) - Static method in class org.apache.commons.discovery.tools.ResourceUtils
Load named property file, optionally qualified by spi's package name as per Class.getResource.
log(int, Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Do the actual logging.
LOG_LEVEL_ALL - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Enable all logging levels
LOG_LEVEL_DEBUG - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Debug" level logging.
LOG_LEVEL_ERROR - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Error" level logging.
LOG_LEVEL_FATAL - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Fatal" level logging.
LOG_LEVEL_INFO - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Info" level logging.
LOG_LEVEL_OFF - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Enable no logging levels
LOG_LEVEL_TRACE - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Trace" level logging.
LOG_LEVEL_WARN - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. "Warn" level logging.
logLevel - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. The current log level
logName - Variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. The name of this simple log instance

M

ManagedProperties - Class in org.apache.commons.discovery.tools
This class may disappear in the future, or be moved to another project..
ManagedProperties() - Constructor for class org.apache.commons.discovery.tools.ManagedProperties
 
map(String, String) - Method in class org.apache.commons.discovery.resource.names.DiscoverMappedNames
Maps a name to another name.
map(String, String[]) - Method in class org.apache.commons.discovery.resource.names.DiscoverMappedNames
Maps a name to multiple names.

N

name - Variable in class org.apache.commons.discovery.Resource
 
NameDiscoverers - Class in org.apache.commons.discovery.resource.names
Holder for multiple ResourceNameDiscover instances.
NameDiscoverers() - Constructor for class org.apache.commons.discovery.resource.names.NameDiscoverers
Construct a new resource name discoverer
newInstance(Class<T>, Class<?>[], Object[]) - Static method in class org.apache.commons.discovery.tools.ClassUtils
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.
newInstance(Class<T>) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(Class<T>, Properties) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(Class<T>, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(Class<T>, Properties, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(Class<T>, String, String) - Method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(ClassLoaders, SPInterface<T>, PropertiesHolder, DefaultClassHolder<T>) - Static method in class org.apache.commons.discovery.tools.DiscoverClass
Create new instance of class implementing SPI.
newInstance(Class<S>) - Method in class org.apache.commons.discovery.tools.SPInterface
Creates a new instance of the given SPI class.
newLog(Class<?>) - Static method in class org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated. Creates a new Log instance for the input class.
newSPInterface(Class<T>) - Static method in class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
newSPInterface(Class<T>, String) - Static method in class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
newSPInterface(Class<T>, Class<?>[], Object[]) - Static method in class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
newSPInterface(Class<T>, String, Class<?>[], Object[]) - Static method in class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
nextResource() - Method in class org.apache.commons.discovery.ResourceClassIterator
Returns the next Resource in the iteration.
nextResource() - Method in class org.apache.commons.discovery.ResourceIterator
Returns the next Resource in the iteration.
nextResourceClass() - Method in class org.apache.commons.discovery.ResourceClassIterator
Returns the next SPI Class in the iteration.
nextResourceName() - Method in class org.apache.commons.discovery.ResourceClassIterator
Returns the next resource name in the iteration.
nextResourceName() - Method in class org.apache.commons.discovery.ResourceIterator
Returns the next resource name in the iteration.
nextResourceName() - Method in interface org.apache.commons.discovery.ResourceNameIterator
nextResourceName() returns the name of the next resource, and MUST be non-destructive.
nullProperties - Static variable in class org.apache.commons.discovery.tools.DiscoverClass
Readable placeholder for a null value.

O

org.apache.commons.discovery - package org.apache.commons.discovery
Highlights: JDK 1.3 Service discovery Discovery supports JDK 1.1.8 and up (see org.apache.commons.discover.jdk.JDKHooks).
org.apache.commons.discovery.ant - package org.apache.commons.discovery.ant
Apache Commons-Discovery tasks for Apache Ant.
org.apache.commons.discovery.jdk - package org.apache.commons.discovery.jdk
Different JDK hookers style implementation.
org.apache.commons.discovery.log - package org.apache.commons.discovery.log
Apache Commons-Logging wrapper.
org.apache.commons.discovery.resource - package org.apache.commons.discovery.resource
Resources discovery catalog.
org.apache.commons.discovery.resource.classes - package org.apache.commons.discovery.resource.classes
Classes resources discovery catalog.
org.apache.commons.discovery.resource.names - package org.apache.commons.discovery.resource.names
Properties resources discovery catalog.
org.apache.commons.discovery.tools - package org.apache.commons.discovery.tools
Discovery tools implementations.

P

PROP_LEVEL - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  
PropertiesHolder - Class in org.apache.commons.discovery.tools
Holder for a default class.
PropertiesHolder(Properties) - Constructor for class org.apache.commons.discovery.tools.PropertiesHolder
Creates a new PropertiesHolder instance given an already load Properties set.
PropertiesHolder(String) - Constructor for class org.apache.commons.discovery.tools.PropertiesHolder
Creates a new PropertiesHolder instance given a property file name.
propertyNames() - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Return list of all property names.
providers(Class<T>) - Static method in class org.apache.commons.discovery.tools.Service
as described in sun/jdk1.3.1/docs/guide/jar/jar.html#Service Provider, Except this uses Enumeration instead of Interator.
providers(SPInterface<T>, ClassLoaders) - Static method in class org.apache.commons.discovery.tools.Service
This version lets you specify constructor arguments..
put(ClassLoader) - Method in class org.apache.commons.discovery.resource.ClassLoaders
Specify a new class loader to be used in searching.
put(ClassLoader, boolean) - Method in class org.apache.commons.discovery.resource.ClassLoaders
Specify a new class loader to be used in searching.
put(ClassLoader, Map<String, Object>) - Static method in class org.apache.commons.discovery.tools.EnvironmentCache
Put service keyed by spi & classLoader.

R

release() - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Release all internal references to previously created service instances associated with the current thread context class loader.
release(Class<?>) - Static method in class org.apache.commons.discovery.tools.DiscoverSingleton
Release any internal references to a previously created service instance associated with the current thread context class loader.
release() - Static method in class org.apache.commons.discovery.tools.EnvironmentCache
Release all internal references to previously created service instances associated with the current thread context class loader.
release(ClassLoader) - Static method in class org.apache.commons.discovery.tools.EnvironmentCache
Release any internal references to a previously created service instance associated with the current thread context class loader.
Resource - Class in org.apache.commons.discovery
'Resource' located by discovery.
Resource(String, URL, ClassLoader) - Constructor for class org.apache.commons.discovery.Resource
Create a new Resource instance.
resource - Variable in class org.apache.commons.discovery.Resource
 
ResourceClass<T> - Class in org.apache.commons.discovery
'Resource' located by discovery.
ResourceClass(Class<S>, URL) - Constructor for class org.apache.commons.discovery.ResourceClass
Create a new Resource class located by discovery.
ResourceClass(String, URL, ClassLoader) - Constructor for class org.apache.commons.discovery.ResourceClass
Create a new Resource class located by discovery.
resourceClass - Variable in class org.apache.commons.discovery.ResourceClass
 
ResourceClassDiscover<T> - Interface in org.apache.commons.discovery
SPI Discovery.
ResourceClassDiscoverImpl<T> - Class in org.apache.commons.discovery.resource.classes
Default ResourceClassDiscover implementation.
ResourceClassDiscoverImpl() - Constructor for class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Construct a new resource discoverer.
ResourceClassDiscoverImpl(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl
Construct a new resource discoverer.
ResourceClassIterator<T> - Class in org.apache.commons.discovery
Iterator over discovered SPI type.
ResourceClassIterator() - Constructor for class org.apache.commons.discovery.ResourceClassIterator
 
ResourceDiscover - Interface in org.apache.commons.discovery
Interface representing a mapping from a set of source resource names to a resultant set of resource.
ResourceDiscoverImpl - Class in org.apache.commons.discovery.resource
Helper class for methods implementing the ResourceDiscover interface.
ResourceDiscoverImpl() - Constructor for class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Construct a new resource discoverer.
ResourceDiscoverImpl(ClassLoaders) - Constructor for class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Construct a new resource discoverer.
ResourceIterator - Class in org.apache.commons.discovery
Iterator over discovered Resource.
ResourceIterator() - Constructor for class org.apache.commons.discovery.ResourceIterator
 
ResourceNameDiscover - Interface in org.apache.commons.discovery
Interface representing a mapping from a set of source resource names to a resultant set of resource names.
ResourceNameDiscoverImpl - Class in org.apache.commons.discovery.resource.names
Helper class for methods implementing the ResourceNameDiscover interface.
ResourceNameDiscoverImpl() - Constructor for class org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
 
ResourceNameIterator - Interface in org.apache.commons.discovery
Iterate over resource names.
ResourceUtils - Class in org.apache.commons.discovery.tools
Mechanisms to locate and load a class.
ResourceUtils() - Constructor for class org.apache.commons.discovery.tools.ResourceUtils
 

S

Service - Class in org.apache.commons.discovery.tools
[this was ServiceDiscovery12...
Service() - Constructor for class org.apache.commons.discovery.tools.Service
Construct a new service discoverer
SERVICE_HOME - Static variable in class org.apache.commons.discovery.resource.names.DiscoverServiceNames
 
ServiceDiscoveryTask - Class in org.apache.commons.discovery.ant
Small ant task that will use discovery to locate a particular impl.
ServiceDiscoveryTask() - Constructor for class org.apache.commons.discovery.ant.ServiceDiscoveryTask
 
setClassLoaders(ClassLoaders) - Method in class org.apache.commons.discovery.resource.ResourceDiscoverImpl
Specify set of class loaders to be used in searching.
setDebug(int) - Method in class org.apache.commons.discovery.ant.ServiceDiscoveryTask
Sets the debug level.
setDictionary(Dictionary<String, String[]>) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Specify the Dictionary for names mapping.
setDiscoverer(ResourceDiscover) - Method in class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Set the discoverer to resolve resources.
setFactory(LogFactory) - Static method in class org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated. Set logFactory, works ONLY on first call.
setLevel(int) - Static method in class org.apache.commons.discovery.log.SimpleLog
Deprecated.  Set logging level.
setLog(Log) - Static method in class org.apache.commons.discovery.jdk.JDK12Hooks
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated. Sets the Log for this class.
setLog(Log) - Static method in class org.apache.commons.discovery.resource.classes.DiscoverClasses
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.DiscoverResources
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverMappedNames
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverNamesInAlternateManagedProperties
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverNamesInDictionary
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverNamesInManagedProperties
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.DiscoverNamesInSystemProperties
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.resource.names.NameDiscoverers
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.ResourceClass
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.tools.ClassUtils
Deprecated. This method is not thread-safe
setLog(Log) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Deprecated. This method is not thread-safe
setProperties(Map<?, ?>) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Set property values for Properties bound to the current thread context class loader.
setProperties(Map<?, ?>, boolean) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Set property values for Properties bound to the current thread context class loader.
setProperty(String, String) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Set value for property bound to the current thread context class loader.
setProperty(String, String, boolean) - Static method in class org.apache.commons.discovery.tools.ManagedProperties
Set value for property bound to the current thread context class loader.
setServiceName(String) - Method in class org.apache.commons.discovery.ant.ServiceDiscoveryTask
Sets the service name has to be discovered.
showDateTime - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Include the current time in the log message
showLogName - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Include the instance name in the log message?
showShortName - Static variable in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Include the short name ( last component ) of the logger in the log message.
SimpleLog - Class in org.apache.commons.discovery.log
Deprecated. Starting from commons-discovery-05, Log is totally delegated to commons-logging
SimpleLog(String) - Constructor for class org.apache.commons.discovery.log.SimpleLog
Deprecated. Construct a simple log with given name.
size() - Method in class org.apache.commons.discovery.resource.ClassLoaders
Returns the size of class loaders set.
size() - Method in class org.apache.commons.discovery.resource.names.NameDiscoverers
Returns the current size of set discovers.
smallHashSize - Static variable in class org.apache.commons.discovery.tools.EnvironmentCache
Initial hash size for SPI's, default just seem TO big today..
SPInterface<T> - Class in org.apache.commons.discovery.tools
Represents a Service Programming Interface (spi).
SPInterface(Class<T>) - Constructor for class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
SPInterface(Class<T>, String) - Constructor for class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
SPInterface(Class<T>, Class<?>[], Object[]) - Constructor for class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.
SPInterface(Class<T>, String, Class<?>[], Object[]) - Constructor for class org.apache.commons.discovery.tools.SPInterface
Construct object representing Class provider.

T

toArray(ResourceIterator) - Static method in class org.apache.commons.discovery.Resource
Returns an array containing all of the elements in this ResourceIterator in proper sequence.
toString() - Method in class org.apache.commons.discovery.Resource
toString() - Method in class org.apache.commons.discovery.ResourceClass
trace(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with debug log level.
trace(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with debug log level.

V

verifyAncestory(Class<?>, Class<?>) - Static method in class org.apache.commons.discovery.tools.ClassUtils
Throws exception if impl does not implement or extend the SPI.
verifyAncestory(Class<S>) - Method in class org.apache.commons.discovery.tools.SPInterface
Verifies the given SPI implementation is a SPI specialization.

W

warn(Object) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log a message with warn log level.
warn(Object, Throwable) - Method in class org.apache.commons.discovery.log.SimpleLog
Deprecated. Log an error with warn log level.

_

_newLog(Class<?>) - Static method in class org.apache.commons.discovery.log.DiscoveryLogFactory
Deprecated. This method MUST not invoke any logging..

A C D E F G H I J L M N O P R S T V W _

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