Class DiscoverNamesInManagedProperties
java.lang.Object
org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
org.apache.commons.discovery.resource.names.DiscoverNamesInManagedProperties
- All Implemented Interfaces:
ResourceNameDiscover
public class DiscoverNamesInManagedProperties
extends ResourceNameDiscoverImpl
implements ResourceNameDiscover
Recover resource name from Managed Properties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new resource discoverer.DiscoverNamesInManagedProperties(String prefix, String suffix) Construct a new resource discoverer. -
Method Summary
Modifier and TypeMethodDescriptionfindResourceNames(String resourceName) Locate names of resources that are bound toresourceName.static voidsetLog(org.apache.commons.logging.Log _log) Deprecated.This method is not thread-safeMethods inherited from class ResourceNameDiscoverImpl
findResourceNamesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ResourceNameDiscover
findResourceNames
-
Constructor Details
-
DiscoverNamesInManagedProperties
public DiscoverNamesInManagedProperties()Construct a new resource discoverer. -
DiscoverNamesInManagedProperties
Construct a new resource discoverer.- Parameters:
prefix- The resource name prefixsuffix- The resource name suffix
-
-
Method Details
-
setLog
Deprecated.This method is not thread-safeSets theLogfor this class.- Parameters:
_log- This classLog
-
findResourceNames
Locate names of resources that are bound toresourceName.- Specified by:
findResourceNamesin interfaceResourceNameDiscover- Specified by:
findResourceNamesin classResourceNameDiscoverImpl- Parameters:
resourceName- The resource name to locate- Returns:
- A new
ResourceNameIterator
-