Package org.glassfish.hk2.api
Interface DescriptorFileFinderInformation
-
- All Known Implementing Classes:
ClasspathDescriptorFileFinder
,ClasspathDescriptorFileFinder
public interface DescriptorFileFinderInformation
Returns information about theInputStream
returned byDescriptorFileFinder.findDescriptorFiles()
that can be used to give better information when one of the streams fails. Classes that implementDescriptorFileFinder
should also implement this interface in order to provide better failure information- Author:
- jwells
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getDescriptorFileInformation()
This list must have the same cardinality asDescriptorFileFinder.findDescriptorFiles()
.
-
-
-
Method Detail
-
getDescriptorFileInformation
List<String> 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 aURL
then the toString of the URL would be appropriate. If the InputStream is from aFile
then the Absolute path to that file might be appropriate- Returns:
- Identifying information about the InputStream
returned by
DescriptorFileFinder.findDescriptorFiles()
correlated by index
-
-