Class ResourceFinder
java.lang.Object
org.glassfish.hk2.osgiresourcelocator.ResourceFinder
- Direct Known Subclasses:
ResourceFinderImpl
This class provides helper methods to look up resources that are part of OSGi bundles,
but can't be exported. e.g., META-INF/mailcap file used by JavaMail.
This class has been carefully coded to be loadable in non-OSGi environment.
When it is used in such an environment, various getENtry methods return null.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindEntries
(String path) findEntries1
(String path) static URL
(package private) abstract URL
findEntry1
(String path) static void
initialize
(ResourceFinder singleton) static void
reset()
-
Field Details
-
_me
-
-
Constructor Details
-
ResourceFinder
public ResourceFinder()
-
-
Method Details
-
initialize
-
reset
public static void reset() -
findEntry
-
findEntries
-
findEntry1
-
findEntries1
-