|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl org.apache.commons.discovery.resource.names.NameDiscoverers
public class NameDiscoverers
Holder for multiple ResourceNameDiscover instances. The result is the union of the results from each (not a chained sequence, where results feed the next in line.
Constructor Summary | |
---|---|
NameDiscoverers()
Construct a new resource name discoverer |
Method Summary | |
---|---|
void |
addResourceNameDiscover(ResourceNameDiscover discover)
Specify an discover to be used in searching. |
ResourceNameIterator |
findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName . |
protected ResourceNameDiscover |
getResourceNameDiscover(int idx)
Retrieve the discover positioned at the given index. |
static void |
setLog(org.apache.commons.logging.Log _log)
Deprecated. This method is not thread-safe |
protected int |
size()
Returns the current size of set discovers. |
Methods inherited from class org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl |
---|
findResourceNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.discovery.ResourceNameDiscover |
---|
findResourceNames |
Constructor Detail |
---|
public NameDiscoverers()
Method Detail |
---|
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log
for this class.
_log
- This class Log
public void addResourceNameDiscover(ResourceNameDiscover discover)
discover
- The discover to be addedprotected ResourceNameDiscover getResourceNameDiscover(int idx)
idx
- The discover index position client is requiring
protected int size()
public ResourceNameIterator findResourceNames(String resourceName)
resourceName
.
findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceNameDiscoverImpl
resourceName
- The resource name to locate
ResourceNameIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |