Package org.glassfish.hk2.api
Interface DescriptorFileFinder
- All Known Subinterfaces:
DescriptorFileFinder
- All Known Implementing Classes:
ClasspathDescriptorFileFinder
,ClasspathDescriptorFileFinder
,URLDescriptorFileFinder
Implementations of this interface allow the customization of
how hk2 inhabitant files are found. Classes that implement
this interface should also implement
DescriptorFileFinderInformation
for better information when a failure occurs-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the default location for hk2 inhabitant files -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of input streams for hk2 locator files
-
Field Details
-
RESOURCE_BASE
The name of the default location for hk2 inhabitant files- See Also:
-
-
Method Details
-
findDescriptorFiles
Returns a list of input streams for hk2 locator files- Returns:
- A non-null (but possibly empty) list of InputStreams for hk2 inhabitant files
- Throws:
IOException
- If there was an error finding the hk2 inhabitant files
-