|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
org.apache.commons.discovery.resource.names.DiscoverMappedNames
public class DiscoverMappedNames
Recover resource name from Managed Properties, using OLD property names. This class maintains a mapping between old names and (new) the class names they represent. The discovery mechanism uses the class names as property names.
ManagedProperties| Constructor Summary | |
|---|---|
DiscoverMappedNames()
Construct a new resource discoverer |
|
| Method Summary | |
|---|---|
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 |
| 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 DiscoverMappedNames()
| Method Detail |
|---|
@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 target
public void map(String fromName,
String[] toNames)
fromName - The name has to be mappedtoNames - The mapping targetspublic ResourceNameIterator findResourceNames(String resourceName)
resourceName.
findResourceNames in interface ResourceNameDiscoverfindResourceNames in class ResourceNameDiscoverImplresourceName - The resource name to locate
ResourceNameIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||