|
||||||||||
| 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.DiscoverNamesInAlternateManagedProperties
public class DiscoverNamesInAlternateManagedProperties
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 | |
|---|---|
DiscoverNamesInAlternateManagedProperties()
Construct a new resource discoverer. |
|
| Method Summary | |
|---|---|
void |
addClassToPropertyNameMapping(String className,
String propertyName)
Add a class name/property name mapping. |
ResourceNameIterator |
findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName. |
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 DiscoverNamesInAlternateManagedProperties()
| Method Detail |
|---|
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log for this class.
_log - This class Log
public void addClassToPropertyNameMapping(String className,
String propertyName)
className - The class namepropertyName - The property namepublic 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 | |||||||||