public class DiscoverNamesInAlternateManagedProperties extends ResourceNameDiscoverImpl implements ResourceNameDiscover
ManagedProperties
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
log |
private java.util.Map<java.lang.String,java.lang.String> |
mapping |
Constructor and Description |
---|
DiscoverNamesInAlternateManagedProperties()
Construct a new resource discoverer.
|
Modifier and Type | Method and Description |
---|---|
void |
addClassToPropertyNameMapping(java.lang.String className,
java.lang.String propertyName)
Add a class name/property name mapping.
|
ResourceNameIterator |
findResourceNames(java.lang.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
|
findResourceNames
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findResourceNames
private static org.apache.commons.logging.Log log
private final java.util.Map<java.lang.String,java.lang.String> mapping
public DiscoverNamesInAlternateManagedProperties()
@Deprecated public static void setLog(org.apache.commons.logging.Log _log)
Log
for this class._log
- This class Log
public void addClassToPropertyNameMapping(java.lang.String className, java.lang.String propertyName)
className
- The class namepropertyName
- The property namepublic ResourceNameIterator findResourceNames(java.lang.String resourceName)
resourceName
.findResourceNames
in interface ResourceNameDiscover
findResourceNames
in class ResourceNameDiscoverImpl
resourceName
- The resource name to locateResourceNameIterator