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
Provide JDK 1.3 style service discovery...
The caller will first configure the discoverer by creating a
root Discoverer for the files.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new service discoverer.DiscoverServiceNames
(String prefix, String suffix) Construct a new resource discoverer.DiscoverServiceNames
(ClassLoaders loaders) Construct a new resource discoverer.DiscoverServiceNames
(ClassLoaders loaders, String prefix, String suffix) Construct a new resource discoverer.DiscoverServiceNames
(ResourceDiscover discoverer) Construct a new service discoverer.DiscoverServiceNames
(ResourceDiscover discoverer, String prefix, String suffix) Construct a new service discoverer. -
Method Summary
Methods inherited from class org.apache.commons.discovery.resource.names.DiscoverNamesInFile
findResourceNames, getDiscover, setDiscoverer, setLog
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, findResourceNames
-
Field Details
-
SERVICE_HOME
- See Also:
-
-
Constructor Details
-
DiscoverServiceNames
public DiscoverServiceNames()Construct a new service discoverer. -
DiscoverServiceNames
Construct a new resource discoverer.- Parameters:
prefix
- The resource name prefixsuffix
- The resource name suffix
-
DiscoverServiceNames
Construct a new resource discoverer.- Parameters:
loaders
- The class loaders holder
-
DiscoverServiceNames
Construct a new resource discoverer.- Parameters:
loaders
- The class loaders holderprefix
- The resource name prefixsuffix
- The resource name suffix
-
DiscoverServiceNames
Construct a new service discoverer.- Parameters:
discoverer
- The discoverer to resolve resources
-
DiscoverServiceNames
Construct a new service discoverer.- Parameters:
discoverer
- The discoverer to resolve resourcesprefix
- The resource name prefixsuffix
- The resource name suffix
-