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).
|
Java Source File Name | Type | Comment |
DiscoveryException.java | Class | An exception that is thrown only if a suitable service
instance cannot be created by ServiceFactory
Copied from LogConfigurationException
author: Craig R. |
Resource.java | Class | 'Resource' located by discovery.
Naming of methods becomes a real pain ('getClass()')
so I've patterned this after ClassLoader...
I think it works well as it will give users a point-of-reference.
author: Craig R. |
ResourceClass.java | Class | 'Resource' located by discovery.
Naming of methods becomes a real pain ('getClass()')
so I've patterned this after ClassLoader...
I think it works well as it will give users a point-of-reference.
author: Richard A. |
ResourceClassDiscover.java | Interface | author: Richard A. |
ResourceClassIterator.java | Class | author: Richard A. |
ResourceDiscover.java | Interface | author: Richard A. |
ResourceIterator.java | Class | author: Richard A. |
ResourceNameDiscover.java | Interface | Interface representing a mapping
from a set of source resource names
to a resultant set of resource names.
author: Richard A. |
ResourceNameIterator.java | Interface | Iterate over resource names.
The semantics are somewhat unusual, for better or worse.
hasNext is presumed to be destructive to the current state,
each call will 'move' the cursor.
nextResourceName() MUST BE non-destructive,
it does not change the state.
TODO: FIX iterator logic/semantics, possibly add 'currentResourceName()'.
author: Richard A. |