public class DiscoverMappedNames extends ResourceNameDiscoverImpl implements ResourceNameDiscover
ManagedProperties| Constructor and Description |
|---|
DiscoverMappedNames()
Construct a new resource discoverer
|
| Modifier and Type | Method and Description |
|---|---|
ResourceNameIterator |
findResourceNames(java.lang.String resourceName)
Locate names of resources that are bound to
resourceName. |
void |
map(java.lang.String fromName,
java.lang.String toName)
Maps a name to another name.
|
void |
map(java.lang.String fromName,
java.lang.String[] toNames)
Maps a name to multiple names.
|
static void |
setLog(org.apache.commons.logging.Log _log)
Deprecated.
This method is not thread-safe
|
findResourceNamesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindResourceNamespublic DiscoverMappedNames()
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log for this class._log - This class Logpublic void map(java.lang.String fromName,
java.lang.String toName)
fromName - The name has to be mappedtoName - The mapping targetpublic void map(java.lang.String fromName,
java.lang.String[] toNames)
fromName - The name has to be mappedtoNames - The mapping targetspublic ResourceNameIterator findResourceNames(java.lang.String resourceName)
resourceName.findResourceNames in interface ResourceNameDiscoverfindResourceNames in class ResourceNameDiscoverImplresourceName - The resource name to locateResourceNameIteratorCopyright (c) 2002 - Apache Software Foundation