Package | Description |
---|---|
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.resource.names |
Properties resources discovery catalog.
|
org.apache.commons.discovery.tools |
Discovery tools implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceClass<T>
'Resource' located by discovery.
|
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceClassIterator.nextResource()
Returns the next
Resource in the iteration. |
abstract Resource |
ResourceIterator.nextResource()
Returns the next
Resource in the iteration. |
static Resource[] |
Resource.toArray(ResourceIterator iterator)
Returns an array containing all of the elements in this
ResourceIterator in proper sequence. |
Modifier and Type | Method and Description |
---|---|
private java.util.List<java.lang.String> |
DiscoverNamesInFile.readServices(Resource info)
Parses the resource info file and store all the defined SPI implementation classes
|
Modifier and Type | Method and Description |
---|---|
static Resource |
ResourceUtils.getResource(java.lang.Class<?> spi,
java.lang.String resourceName,
ClassLoaders loaders)
Load the resource
resourceName . |