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(String resourceName)
Locate names of resources that are bound to
resourceName . |
void |
map(String fromName,
String toName)
Maps a name to another name.
|
void |
map(String fromName,
String[] toNames)
Maps a name to multiple names.
|
static void |
setLog(org.apache.commons.logging.Log _log)
Deprecated.
This method is not thread-safe
|
findResourceNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findResourceNames
public DiscoverMappedNames()
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log
for this class._log
- This class Log
public void map(String fromName, String toName)
fromName
- The name has to be mappedtoName
- The mapping targetpublic void map(String fromName, String[] toNames)
fromName
- The name has to be mappedtoNames
- The mapping targetspublic ResourceNameIterator findResourceNames(String resourceName)
resourceName
.findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceNameDiscoverImpl
resourceName
- The resource name to locateResourceNameIterator
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.