|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.internal.loader.BundleLoader
org.eclipse.osgi.internal.loader.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.internal.loader.BundleLoader |
|---|
CLASS_CONTEXT, DEFAULT_PACKAGE, FLAG_CLOSED, FLAG_HASDYNAMICEIMPORTALL, FLAG_HASDYNAMICIMPORTS, FLAG_IMPORTSINIT, FLAG_LAZYTRIGGER, FW_CLASSLOADER, JAVA_PACKAGE |
| Constructor Summary | |
|---|---|
protected |
SystemBundleLoader(BundleHost bundle,
BundleLoaderProxy proxy)
|
| Method Summary | |
|---|---|
void |
attachFragment(BundleFragment fragment)
|
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<java.net.URL> |
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.internal.loader.BundleLoader |
|---|
addDynamicImportPackage, closeBundleLoader, compoundEnumerations, createClassLoader, getBundle, getImportedSources, getLoaderProxy, getLoaderProxy, getPackageName, getPackageSource, getParentClassLoader, getResourcePackageName, getResources, isLazyTriggerSet, listResources, loadClass, setLazyTrigger, 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 void attachFragment(BundleFragment fragment)
throws BundleException
attachFragment in class BundleLoaderBundleException
public java.lang.Class<?> findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in interface ClassLoaderDelegatefindClass in class BundleLoadername - 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 ClassLoaderDelegatefindLibrary in class BundleLoadername - the library name
public java.net.URL findResource(java.lang.String name)
findResource in interface ClassLoaderDelegatefindResource in class BundleLoadername - the resource to load.
public java.util.Enumeration<java.net.URL> findResources(java.lang.String name)
throws java.io.IOException
findResources in interface ClassLoaderDelegatefindResources in class BundleLoadername - the resource to find.
java.io.IOExceptionprotected 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 | |||||||||