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.
- Author:
- Sanjeeb.Sahoo@Sun.COM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindEntries(String path) static URLstatic voidinitialize(ResourceFinder singleton) static voidreset()
-
Constructor Details
-
ResourceFinder
public ResourceFinder()
-
-
Method Details
-
initialize
-
reset
public static void reset() -
findEntry
-
findEntries
-