Class ResourceFinder
- java.lang.Object
-
- org.glassfish.hk2.osgiresourcelocator.ResourceFinder
-
- Direct Known Subclasses:
ResourceFinderImpl
public abstract class ResourceFinder extends Object
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 Constructor Description ResourceFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<URL>
findEntries(String path)
static URL
findEntry(String path)
static void
initialize(ResourceFinder singleton)
static void
reset()
-