org.apache.commons.discovery.resource.names
Class DiscoverNamesInManagedProperties

java.lang.Object
  extended by org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
      extended by 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:
ManagedProperties

Constructor Summary
DiscoverNamesInManagedProperties()
          Construct a new resource discoverer.
DiscoverNamesInManagedProperties(String prefix, String suffix)
          Construct a new resource discoverer.
 
Method Summary
 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

DiscoverNamesInManagedProperties

public DiscoverNamesInManagedProperties()
Construct a new resource discoverer.


DiscoverNamesInManagedProperties

public DiscoverNamesInManagedProperties(String prefix,
                                        String suffix)
Construct a new resource discoverer.

Parameters:
prefix - The resource name prefix
suffix - The resource name suffix
Method Detail

setLog

@Deprecated
public static void setLog(org.apache.commons.logging.Log _log)
Deprecated. This method is not thread-safe

Sets the Log for this class.

Parameters:
_log - This class Log

findResourceNames

public ResourceNameIterator findResourceNames(String resourceName)
Locate names of resources that are bound to resourceName.

Specified by:
findResourceNames in interface ResourceNameDiscover
Specified by:
findResourceNames in class ResourceNameDiscoverImpl
Parameters:
resourceName - The resource name to locate
Returns:
A new ResourceNameIterator


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.