|
||||||||||
| 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 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. |
Class<?> |
findClass(String name)
The ClassLoader that loads OSGi framework classes is used to find the class. |
String |
findLibrary(String name)
This method will always return null. |
URL |
findResource(String name)
The ClassLoader that loads OSGi framework classes is used to find the resource. |
Enumeration<URL> |
findResources(String name)
The ClassLoader that loads OSGi framework classes is used to find the resource. |
boolean |
isEEPackage(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 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 Class<?> findClass(String name)
throws ClassNotFoundException
findClass in interface ClassLoaderDelegatefindClass in class BundleLoadername - the class to find.
ClassNotFoundException - if the class is not found.public String findLibrary(String name)
findLibrary in interface ClassLoaderDelegatefindLibrary in class BundleLoadername - the library name
public URL findResource(String name)
findResource in interface ClassLoaderDelegatefindResource in class BundleLoadername - the resource to load.
public Enumeration<URL> findResources(String name)
throws IOException
findResources in interface ClassLoaderDelegatefindResources in class BundleLoadername - the resource to find.
IOExceptionprotected void close()
public boolean isEEPackage(String pkgName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||