Module org.glassfish.hk2.api
Package org.glassfish.hk2.api
Interface DescriptorFileFinderInformation
- All Known Implementing Classes:
ClasspathDescriptorFileFinder
public interface DescriptorFileFinderInformation
Returns information about the
InputStream
returned by DescriptorFileFinder.findDescriptorFiles()
that can be used to give better information when one of the
streams fails. Classes that implement DescriptorFileFinder
should also implement this interface in order to provide better
failure information- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionThis list must have the same cardinality asDescriptorFileFinder.findDescriptorFiles().
-
Method Details
-
getDescriptorFileInformation
This list must have the same cardinality asDescriptorFileFinder.findDescriptorFiles(). The Strings returned from this list must give identifying information about the InputStream with the same index. For example, if the InputStream is from aURLthen the toString of the URL would be appropriate. If the InputStream is from aFilethen the Absolute path to that file might be appropriate- Returns:
- Identifying information about the InputStream
returned by
DescriptorFileFinder.findDescriptorFiles()correlated by index
-