org.glassfish.hk2.osgiresourcelocator
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFinder
public ResourceFinder()
initialize
public static void initialize(ResourceFinder singleton)
reset
public static void reset()
findEntry
public static URL findEntry(String path)
findEntries
public static List<URL> findEntries(String path)
Copyright © 2013 GlassFish Community. All Rights Reserved.