org.apache.commons.discovery.resource.names
Class DiscoverServiceNames
java.lang.Object
|
+--org.apache.commons.discovery.resource.names.ResourceNameDiscoverImpl
|
+--org.apache.commons.discovery.resource.names.DiscoverNamesInFile
|
+--org.apache.commons.discovery.resource.names.DiscoverServiceNames
- All Implemented Interfaces:
- ResourceNameDiscover
- public class DiscoverServiceNames
- extends DiscoverNamesInFile
- implements ResourceNameDiscover
Provide JDK 1.3 style service discovery...
The caller will first configure the discoverer by creating a
root Discoverer for the files.
- Author:
- Richard A. Sitze, Craig R. McClanahan, Costin Manolache, James Strachan
Field Summary |
protected static java.lang.String |
SERVICE_HOME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_HOME
protected static final java.lang.String SERVICE_HOME
DiscoverServiceNames
public DiscoverServiceNames()
- Construct a new service discoverer
DiscoverServiceNames
public DiscoverServiceNames(ClassLoaders loaders)
- Construct a new resource discoverer
DiscoverServiceNames
public DiscoverServiceNames(ResourceDiscover discoverer)
- Construct a new service discoverer
findResourceNames
public ResourceNameIterator findResourceNames(java.lang.String serviceName)
- Description copied from interface:
ResourceNameDiscover
- Locate names of resources that are bound to
resourceName
.
- Specified by:
findResourceNames
in interface ResourceNameDiscover
- Overrides:
findResourceNames
in class DiscoverNamesInFile
- Returns:
- Enumeration of ServiceInfo
Copyright (c) 2002 - Apache Software Foundation