|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.osgi.framework.internal.core.BundleLoader
org.eclipse.osgi.framework.internal.core.SystemBundleLoader
public class SystemBundleLoader
The System Bundle's BundleLoader. This BundleLoader is used by ImportClassLoaders to load a resource that is exported by the System Bundle.
Field Summary | |
---|---|
static java.lang.String |
EQUINOX_EE
|
Fields inherited from class org.eclipse.osgi.framework.internal.core.BundleLoader |
---|
CLASS_CONTEXT, DEFAULT_PACKAGE, FLAG_CLOSED, FLAG_HASDYNAMICEIMPORTALL, FLAG_HASDYNAMICIMPORTS, FLAG_IMPORTSINIT, FW_CLASSLOADER, JAVA_PACKAGE |
Constructor Summary | |
---|---|
protected |
SystemBundleLoader(BundleHost bundle,
BundleLoaderProxy proxy)
|
Method Summary | |
---|---|
protected void |
close()
Do nothing on a close. |
java.lang.Class |
findClass(java.lang.String name)
The ClassLoader that loads OSGi framework classes is used to find the class. |
java.lang.String |
findLibrary(java.lang.String name)
This method will always return null. |
java.net.URL |
findResource(java.lang.String name)
The ClassLoader that loads OSGi framework classes is used to find the resource. |
java.util.Enumeration |
findResources(java.lang.String name)
The ClassLoader that loads OSGi framework classes is used to find the resource. |
boolean |
isEEPackage(java.lang.String pkgName)
|
Methods inherited from class org.eclipse.osgi.framework.internal.core.BundleLoader |
---|
addDynamicImportPackage, getPackageName, getResourcePackageName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EQUINOX_EE
Constructor Detail |
---|
protected SystemBundleLoader(BundleHost bundle, BundleLoaderProxy proxy) throws BundleException
bundle
- The system bundle.proxy
- The BundleLoaderProxy for the system bundle
BundleException
- On any error.Method Detail |
---|
public java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in interface ClassLoaderDelegate
findClass
in class BundleLoader
name
- the class to find.
java.lang.ClassNotFoundException
- if the class is not found.public java.lang.String findLibrary(java.lang.String name)
findLibrary
in interface ClassLoaderDelegate
findLibrary
in class BundleLoader
name
- the library name
public java.net.URL findResource(java.lang.String name)
findResource
in interface ClassLoaderDelegate
findResource
in class BundleLoader
name
- the resource to load.
public java.util.Enumeration findResources(java.lang.String name) throws java.io.IOException
findResources
in interface ClassLoaderDelegate
findResources
in class BundleLoader
name
- the resource to find.
java.io.IOException
protected void close()
public boolean isEEPackage(java.lang.String pkgName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |