|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.baseadaptor.BaseData
org.eclipse.osgi.internal.baseadaptor.SystemBundleData
public class SystemBundleData
| Field Summary |
|---|
| Fields inherited from class org.eclipse.osgi.baseadaptor.BaseData |
|---|
bundleFile, fileName, loadedNativeCode, manifest |
| Fields inherited from interface org.eclipse.osgi.framework.adaptor.BundleData |
|---|
TYPE_BOOTCLASSPATH_EXTENSION, TYPE_COMPOSITEBUNDLE, TYPE_EXTCLASSPATH_EXTENSION, TYPE_FRAGMENT, TYPE_FRAMEWORK_EXTENSION, TYPE_SINGLETON, TYPE_SURROGATEBUNDLE |
| Constructor Summary | |
|---|---|
SystemBundleData(BaseAdaptor adaptor)
|
|
| Method Summary | |
|---|---|
BundleClassLoader |
createClassLoader(ClassLoaderDelegate delegate,
BundleProtectionDomain domain,
String[] bundleclasspath)
This method calls all the configured class loading hooks ClassLoadingHook.createClassLoader(ClassLoader, ClassLoaderDelegate, BundleProtectionDomain, BaseData, String[])
methods until on returns a non-null value. |
File |
createGenerationDir()
|
String |
findLibrary(String libname)
This method calls each configured classloading hook ClassLoadingHook.findLibrary(BaseData, String) method
until the first one returns a non-null value. |
int |
getStartLevel()
Returns the start level metadata for this BundleData. |
int |
getStatus()
Returns the status metadata for this BundleData. |
void |
installNativeCode(String[] nativepaths)
Installs the native code paths for this BundleData. |
void |
save()
Persistently stores all the metadata for this BundleData |
| Methods inherited from class org.eclipse.osgi.baseadaptor.BaseData |
|---|
close, findLocalResources, getActivator, getAdaptor, getBundle, getBundleFile, getBundleFile, getBundleID, getClassPath, getClassPathString, getDataFile, getDynamicImports, getEntry, getEntryPaths, getExecutionEnvironment, getExtractFile, getLastModified, getLocation, getManifest, getStorageHook, getStorageHooks, getSymbolicName, getType, getVersion, isDirty, open, setActivator, setBundle, setBundleFile, setClassPathString, setDirty, setDynamicImports, setExecutionEnvironment, setFileName, setLastModified, setLocation, setStartLevel, setStatus, setStorageHooks, setSymbolicName, setType, setVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SystemBundleData(BaseAdaptor adaptor)
throws BundleException
BundleException| Method Detail |
|---|
public BundleClassLoader createClassLoader(ClassLoaderDelegate delegate,
BundleProtectionDomain domain,
String[] bundleclasspath)
BaseDataClassLoadingHook.createClassLoader(ClassLoader, ClassLoaderDelegate, BundleProtectionDomain, BaseData, String[])
methods until on returns a non-null value. If none of the class loading hooks returns a non-null value
then the default classloader implementation is used.
createClassLoader in interface BundleDatacreateClassLoader in class BaseDatadelegate - The ClassLoaderDelegate to delegate to.domain - The BundleProtectionDomain to use when defining a class.bundleclasspath - An array of bundle classpaths to use to create this
classloader. This is specified by the Bundle-ClassPath manifest entry.
BundleData.createClassLoader(ClassLoaderDelegate, BundleProtectionDomain, String[])public File createGenerationDir()
public String findLibrary(String libname)
BaseDataClassLoadingHook.findLibrary(BaseData, String) method
until the first one returns a non-null value.
findLibrary in interface BundleDatafindLibrary in class BaseDatalibname - The name of the library to find the absolute path to.
BundleData.findLibrary(String)
public void installNativeCode(String[] nativepaths)
throws BundleException
BundleData
installNativeCode in interface BundleDatainstallNativeCode in class BaseDatanativepaths - The array of native code paths to install for
the bundle.
BundleExceptionpublic int getStartLevel()
BundleData
getStartLevel in interface BundleDatagetStartLevel in class BaseDatapublic int getStatus()
BundleData
getStatus in interface BundleDatagetStatus in class BaseDatapublic void save()
BundleData
save in interface BundleDatasave in class BaseData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||