Package org.apache.commons.discovery.tools
package org.apache.commons.discovery.tools
Discovery tools implementations.
-
ClassesClassDescriptionVarious utilities to interact with
Class
types.Holder for a default class.Discover class that implements a given service interface, with discovery and configuration features similar to that employed by standard Java APIs such as JAXP.Discover singleton service providers.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...This class may disappear in the future, or be moved to another project..Holder for a default class.Mechanisms to locate and load a class.[this was ServiceDiscovery12...SPInterface<T>Represents a Service Programming Interface (spi).