Top Description Methods
org.glassfish.hk2.api

public Interface DescriptorFileFinderInformation

Known Direct Implementers
org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder
Imports
java.util.List

Returns information about the java.io.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 TypeMethod and Description
public List<String>

Returns:

Identifying information about the InputStream returned by DescriptorFileFinder#findDescriptorFiles() correlated by index
getDescriptorFileInformation
()

This list must have the same cardinality as DescriptorFileFinder#findDescriptorFiles().

Method Detail

getDescriptorFileInformationback to summary
public List<String> getDescriptorFileInformation()

This list must have the same cardinality as DescriptorFileFinder#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 a java.net.URL then the toString of the URL would be appropriate. If the InputStream is from a java.io.File then the Absolute path to that file might be appropriate

Returns:List<String>

Identifying information about the InputStream returned by DescriptorFileFinder#findDescriptorFiles() correlated by index