Package | Description |
---|---|
org.apache.felix.framework | |
org.apache.felix.framework.ext | |
org.apache.felix.framework.util.manifestparser | |
org.eclipse.core.runtime.internal.adaptor | |
org.eclipse.osgi.baseadaptor | |
org.eclipse.osgi.baseadaptor.hooks | |
org.eclipse.osgi.framework.adaptor | |
org.eclipse.osgi.framework.internal.core | |
org.eclipse.osgi.framework.util | |
org.eclipse.osgi.internal.baseadaptor | |
org.eclipse.osgi.internal.composite | |
org.eclipse.osgi.internal.loader | |
org.eclipse.osgi.internal.resolver | |
org.eclipse.osgi.internal.signedcontent | |
org.eclipse.osgi.launch |
Provides the Equinox framework launch API.
|
org.eclipse.osgi.service.internal.composite | |
org.eclipse.osgi.service.resolver |
Provides the Equinox resolver API.
|
org.eclipse.osgi.util |
Provides utility classes for NLS support and bundle manifest header parsing.
|
org.osgi.framework |
Framework Package Version 1.7.
|
org.osgi.framework.launch |
Framework Launch Package Version 1.1.
|
org.osgi.service.framework |
Modifier and Type | Method and Description |
---|---|
void |
Felix.init()
This method initializes the framework, which is comprised of resolving
the system bundle, reloading any cached bundles, and activating the system
bundle.
|
void |
Felix.start()
This method starts the framework instance, which will transition the
framework from start level 0 to its active start level as specified in
its configuration properties (1 by default).
|
void |
Felix.start(int options) |
void |
Felix.stop()
This method asynchronously shuts down the framework, it must be called at the
end of a session in order to shutdown all active bundles.
|
void |
Felix.stop(int options) |
void |
Felix.uninstall() |
void |
Felix.update() |
void |
Felix.update(InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
FelixBundleContext.addCapability() |
void |
FelixBundleContext.addRequirement(String s) |
void |
FelixBundleContext.removeCapability() |
void |
FelixBundleContext.removeRequirement() |
Modifier and Type | Method and Description |
---|---|
boolean |
R4LibraryClause.match(Map configMap) |
static List<BundleRequirement> |
ManifestParser.parseDynamicImportHeader(Logger logger,
BundleRevision owner,
String header) |
static String |
ManifestParser.parseExtensionBundleHeader(String header) |
Constructor and Description |
---|
ManifestParser(Logger logger,
Map configMap,
BundleRevision owner,
Map headerMap) |
Modifier and Type | Method and Description |
---|---|
StorageHook |
EclipseStorageHook.create(BaseData data) |
void |
EclipseLazyStarter.frameworkStart(BundleContext context) |
void |
EclipseLogHook.frameworkStart(BundleContext context) |
void |
EclipseAdaptorHook.frameworkStart(BundleContext context) |
void |
EclipseErrorHandler.frameworkStart(BundleContext context) |
void |
EclipseLazyStarter.frameworkStop(BundleContext context) |
void |
EclipseLogHook.frameworkStop(BundleContext context) |
void |
EclipseAdaptorHook.frameworkStop(BundleContext context) |
void |
EclipseErrorHandler.frameworkStop(BundleContext context) |
Dictionary<String,String> |
EclipseStorageHook.getGeneratedManifest() |
Dictionary<String,String> |
EclipseStorageHook.getManifest(boolean firstLoad) |
void |
EclipseStorageHook.initialize(Dictionary<String,String> manifest) |
Modifier and Type | Method and Description |
---|---|
BundleData |
BaseAdaptor.createSystemBundleData() |
void |
BaseAdaptor.frameworkStart(BundleContext fwContext)
This method calls all the configured adaptor hook
AdaptorHook.frameworkStart(BundleContext) methods. |
void |
BaseAdaptor.frameworkStop(BundleContext fwContext)
This method calls all the configured adaptor hook
AdaptorHook.frameworkStop(BundleContext) methods. |
String[] |
BaseData.getClassPath() |
Dictionary<String,String> |
BaseData.getManifest() |
void |
BaseData.installNativeCode(String[] nativepaths) |
URLConnection |
BaseAdaptor.mapLocationToURLConnection(String location)
This method will call each configured adaptor hook
AdaptorHook.mapLocationToURLConnection(String) method
until one returns a non-null value. |
Modifier and Type | Method and Description |
---|---|
StorageHook |
StorageHook.create(BaseData bundledata)
Creates an uninitialized storage hook for the specified bundledata.
|
void |
AdaptorHook.frameworkStart(BundleContext context)
Gets called by the adaptor during
FrameworkAdaptor.frameworkStart(BundleContext) . |
void |
AdaptorHook.frameworkStop(BundleContext context)
Gets called by the adaptor during
FrameworkAdaptor.frameworkStop(BundleContext) . |
Dictionary<String,String> |
StorageHook.getManifest(boolean firstLoad)
Returns the manifest for the data in this storage hook, or null if this hook does
not provide the manifest.
|
void |
StorageHook.initialize(Dictionary<String,String> manifest)
Initializes this storage hook with the content of the specified bundle manifest.
|
Modifier and Type | Method and Description |
---|---|
BundleData |
BundleOperation.begin()
Begin the operation on the bundle (install, update, uninstall).
|
void |
BundleOperation.commit(boolean postpone)
Commit the operation performed.
|
BundleData |
FrameworkAdaptor.createSystemBundleData()
Creates a BundleData object for the System Bundle.
|
void |
FrameworkAdaptor.frameworkStart(BundleContext context)
The framework will call this method after the
System BundleActivator.start(BundleContext) has been called.
|
void |
FrameworkAdaptor.frameworkStop(BundleContext context)
The framework will call this method before the
System BundleActivator.stop(BundleContext) has been called.
|
String[] |
BundleData.getClassPath()
Returns the Bundle-ClassPath for this BundleData as specified in
the bundle manifest file.
|
Dictionary<String,String> |
BundleData.getManifest()
Return the Dictionary of manifest headers for the BundleData.
|
void |
BundleData.installNativeCode(String[] nativepaths)
Installs the native code paths for this BundleData.
|
URLConnection |
FrameworkAdaptor.mapLocationToURLConnection(String location)
Map a location to a URLConnection.
|
void |
ClassLoaderDelegate.setLazyTrigger()
Sets the lazy trigger for this delegate.
|
void |
BundleOperation.undo()
Undo the change to persistent storage.
|
Modifier and Type | Method and Description |
---|---|
BundleException |
AbstractBundle.getResolutionFailureException() |
Modifier and Type | Method and Description |
---|---|
protected void |
BundleHost.attachFragment(BundleFragment fragment)
Attaches a fragment to this BundleHost.
|
protected void |
AbstractBundle.beginStateChange()
This method marks the bundle's state as changing so that other calls to
start/stop/suspend/update/uninstall can wait until the state change is
complete.
|
void |
ConsoleManager.checkForConsoleBundle() |
protected static AbstractBundle |
AbstractBundle.createBundle(BundleData bundledata,
Framework framework,
boolean setBundle)
Bundle object constructor.
|
Bundle |
BundleContextImpl.installBundle(String location) |
Bundle |
BundleContextImpl.installBundle(String location,
InputStream in) |
protected AbstractBundle |
Framework.installWorker(String location,
PrivilegedExceptionAction<AbstractBundle> action,
BundleContext origin)
Worker method to install a bundle.
|
protected AbstractBundle |
Framework.installWorkerPrivileged(String location,
URLConnection source,
AccessControlContext callerContext,
BundleContextImpl origin)
Worker method to install a bundle.
|
protected BundleActivator |
AbstractBundle.loadBundleActivator()
Load and instantiate bundle's BundleActivator class
|
protected void |
AbstractBundle.resume()
Start this bundle w/o marking is persistently started.
|
void |
AbstractBundle.start()
Start this bundle.
|
protected void |
BundleContextImpl.start()
Call bundle's BundleActivator.start()
This method is called by Bundle.startWorker to start the bundle.
|
void |
EquinoxLauncher.start() |
void |
AbstractBundle.start(int options) |
void |
EquinoxLauncher.start(int options) |
protected void |
BundleContextImpl.startActivator(BundleActivator bundleActivator)
Calls the start method of a BundleActivator.
|
protected void |
BundleHost.startHook() |
protected abstract void |
AbstractBundle.startWorker(int options)
Internal worker to start a bundle.
|
protected void |
BundleFragment.startWorker(int options)
Internal worker to start a bundle.
|
protected void |
BundleHost.startWorker(int options)
Internal worker to start a bundle.
|
void |
AbstractBundle.stop()
Stop this bundle.
|
protected void |
BundleContextImpl.stop()
Call bundle's BundleActivator.stop()
This method is called by Bundle.stopWorker to stop the bundle.
|
void |
EquinoxLauncher.stop() |
void |
AbstractBundle.stop(int options) |
void |
EquinoxLauncher.stop(int options) |
protected void |
BundleHost.stopHook() |
protected abstract void |
AbstractBundle.stopWorker(int options)
Internal worker to stop a bundle.
|
protected void |
BundleFragment.stopWorker(int options)
Internal worker to stop a bundle.
|
protected void |
BundleHost.stopWorker(int options)
Internal worker to stop a bundle.
|
protected void |
AbstractBundle.suspend(boolean lock)
Stop this bundle w/o marking is persistently stopped.
|
void |
AbstractBundle.uninstall()
Uninstall this bundle.
|
void |
InternalSystemBundle.uninstall()
Uninstall this bundle.
|
void |
EquinoxLauncher.uninstall() |
protected void |
AbstractBundle.uninstallWorker(PrivilegedExceptionAction<Object> action)
Uninstall worker.
|
protected void |
AbstractBundle.uninstallWorkerPrivileged()
Uninstall worker.
|
void |
AbstractBundle.update() |
void |
EquinoxLauncher.update() |
void |
AbstractBundle.update(InputStream in) |
void |
EquinoxLauncher.update(InputStream in) |
protected void |
AbstractBundle.updateWorker(PrivilegedExceptionAction<Object> action)
Update worker.
|
protected void |
AbstractBundle.updateWorkerPrivileged(URLConnection source,
AccessControlContext callerContext)
Update worker.
|
Constructor and Description |
---|
BundleFragment(BundleData bundledata,
Framework framework) |
InternalSystemBundle(Framework framework)
Private SystemBundle object constructor.
|
Modifier and Type | Method and Description |
---|---|
static Headers<String,String> |
Headers.parseManifest(InputStream in) |
void |
SecureAction.start(Bundle bundle)
Starts a bundle
|
void |
SecureAction.start(Bundle bundle,
int options)
Starts a bundle.
|
Modifier and Type | Method and Description |
---|---|
BundleData |
BundleUpdate.begin()
Perform the change to persistent storage.
|
BundleData |
BundleUninstall.begin()
Perform the change to persistent storage.
|
BundleData |
BundleInstall.begin()
Begin the operation on the bundle (install, update, uninstall).
|
void |
BundleUpdate.commit(boolean postpone)
Commit the change to persistent storage.
|
void |
BundleUninstall.commit(boolean postpone)
Commit the change to persistent storage.
|
void |
BundleInstall.commit(boolean postpone) |
void |
StateManager.commit(State state) |
StorageHook |
BaseStorageHook.create(BaseData bundledata) |
void |
BaseStorageHook.frameworkStart(BundleContext context) |
void |
BaseStorageHook.frameworkStop(BundleContext context) |
Dictionary<String,String> |
BaseStorageHook.getManifest(boolean firstLoad) |
void |
BaseStorageHook.initialize(Dictionary<String,String> manifest) |
void |
BaseStorage.installNativeCode(BaseData data,
String[] nativepaths) |
void |
SystemBundleData.installNativeCode(String[] nativepaths) |
void |
BaseStorageHook.installNativePaths(String[] installPaths) |
Dictionary<String,String> |
BaseStorage.loadManifest(BaseData data) |
Dictionary<String,String> |
BaseStorage.loadManifest(BaseData bundleData,
boolean firstTime) |
static Dictionary<String,String> |
AdaptorUtil.loadManifestFrom(BaseData bundledata) |
protected void |
BaseStorage.processBootExtension(BundleData bundleData,
byte type)
Processes a boot extension bundle
|
protected void |
BaseStorage.processExtension(BaseData bundleData,
byte type)
Processes an extension bundle
|
protected void |
BaseStorage.processExtExtension(BaseData bundleData,
byte type) |
protected void |
BaseStorage.processFrameworkExtension(BaseData bundleData,
byte type)
Processes a framework extension bundle
|
void |
BundleUpdate.undo()
Undo the change to persistent storage.
|
void |
BundleUninstall.undo()
Undo the change to persistent storage.
|
void |
BaseStorage.updateState(BaseData bundleData,
int type)
Updates the state mananager with an updated/installed/uninstalled bundle
|
void |
BaseStorageHook.validateNativePaths(String[] paths) |
Constructor and Description |
---|
SystemBundleData(BaseAdaptor adaptor) |
Modifier and Type | Method and Description |
---|---|
protected Framework |
CompositeImpl.findCompanionFramework(Framework thisFramework,
BundleData thisData) |
protected abstract Framework |
CompositeBase.findCompanionFramework(Framework thisFramework,
BundleData thisData) |
void |
CompositeConfigurator.frameworkStart(BundleContext context) |
CompositeBundle |
CompositeConfigurator.installCompositeBundle(Map frameworkConfig,
String location,
Map compositeManifest) |
protected void |
CompositeImpl.startHook() |
protected void |
CompositeImpl.stopHook() |
void |
CompositeImpl.uninstall() |
void |
SurrogateImpl.uninstall() |
void |
CompositeBase.update() |
void |
CompositeBase.update(InputStream in) |
void |
CompositeImpl.update(Map compositeManifest) |
void |
CompositeBase.updateContent(InputStream content) |
Constructor and Description |
---|
CompositeBase(BundleData bundledata,
Framework framework) |
CompositeImpl(BundleData bundledata,
Framework framework) |
SurrogateImpl(BundleData bundledata,
Framework framework) |
Modifier and Type | Method and Description |
---|---|
void |
BundleLoader.attachFragment(BundleFragment fragment) |
void |
SystemBundleLoader.attachFragment(BundleFragment fragment) |
void |
BundleLoader.setLazyTrigger() |
Constructor and Description |
---|
BundleLoader(BundleHost bundle,
BundleLoaderProxy proxy)
BundleLoader runtime constructor.
|
SystemBundleLoader(BundleHost bundle,
BundleLoaderProxy proxy) |
Modifier and Type | Method and Description |
---|---|
static void |
StateBuilder.checkImportExportSyntax(String headerKey,
ManifestElement[] elements,
boolean export,
boolean dynamic,
boolean jreBundle) |
StateDelta |
ReadOnlyState.compare(State state) |
StateDelta |
SystemState.compare(State state) |
StateDelta |
UserState.compare(State baseState) |
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(Dictionary<String,String> manifest,
String location,
long id)
Deprecated.
|
BundleDescription |
StateObjectFactoryImpl.createBundleDescription(State state,
Dictionary<String,String> manifest,
String location,
long id) |
Modifier and Type | Method and Description |
---|---|
StorageHook |
SignedStorageHook.create(BaseData data) |
void |
SignedBundleHook.frameworkStart(BundleContext context) |
void |
SignedBundleHook.frameworkStop(BundleContext context) |
Dictionary<String,String> |
SignedStorageHook.getManifest(boolean firstLoad) |
void |
SignedStorageHook.initialize(Dictionary<String,String> manifest) |
Modifier and Type | Method and Description |
---|---|
void |
Equinox.init() |
void |
Equinox.start() |
void |
Equinox.start(int options) |
void |
Equinox.stop() |
void |
Equinox.stop(int options) |
void |
Equinox.uninstall() |
void |
Equinox.update() |
void |
Equinox.update(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
CompositeModule.updateContent(InputStream content) |
Modifier and Type | Method and Description |
---|---|
void |
PlatformAdmin.commit(State state)
Commit the differences between the current state and the given state.
|
StateDelta |
State.compare(State baseState)
Returns a delta describing the differences between this state and the
given state.
|
BundleDescription |
StateObjectFactory.createBundleDescription(Dictionary<String,String> manifest,
String location,
long id)
|
BundleDescription |
StateObjectFactory.createBundleDescription(State state,
Dictionary<String,String> manifest,
String location,
long id)
Returns a bundle description based on the information in the supplied manifest dictionary.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
ManifestElement.parseBundleManifest(InputStream manifest,
Map<String,String> headers)
Parses a bundle manifest and puts the header/value pairs into the supplied Map.
|
static ManifestElement[] |
ManifestElement.parseHeader(String header,
String value)
Parses a manifest header value into an array of ManifestElements.
|
Modifier and Type | Method and Description |
---|---|
Bundle |
BundleContext.installBundle(String location)
Installs a bundle from the specified
location identifier. |
Bundle |
BundleContext.installBundle(String location,
InputStream input)
Installs a bundle from the specified
InputStream object. |
void |
Bundle.start()
Starts this bundle with no options.
|
void |
Bundle.start(int options)
Starts this bundle.
|
void |
Bundle.stop()
Stops this bundle with no options.
|
void |
Bundle.stop(int options)
Stops this bundle.
|
void |
Bundle.uninstall()
Uninstalls this bundle.
|
void |
Bundle.update()
Updates this bundle.
|
void |
Bundle.update(InputStream input)
Updates this bundle from an
InputStream . |
Modifier and Type | Method and Description |
---|---|
void |
Framework.init()
Initialize this Framework.
|
void |
Framework.start()
Start this Framework.
|
void |
Framework.start(int options)
Start this Framework.
|
void |
Framework.stop()
Stop this Framework.
|
void |
Framework.stop(int options)
Stop this Framework.
|
void |
Framework.uninstall()
The Framework cannot be uninstalled.
|
void |
Framework.update()
Stop and restart this Framework.
|
void |
Framework.update(InputStream in)
Stop and restart this Framework.
|
Modifier and Type | Method and Description |
---|---|
CompositeBundle |
CompositeBundleFactory.installCompositeBundle(Map frameworkConfig,
String location,
Map compositeManifest)
Deprecated.
Installs a
CompositeBundle . |
void |
CompositeBundle.uninstall()
Deprecated.
Uninstalls this composite bundle.
|
void |
SurrogateBundle.uninstall()
Deprecated.
This operation is not supported for surrogate bundles.
|
void |
CompositeBundle.update()
Deprecated.
This operation is not supported for composite bundles.
|
void |
SurrogateBundle.update()
Deprecated.
This operation is not supported for surrogate bundles.
|
void |
CompositeBundle.update(InputStream input)
Deprecated.
This operation is not supported for composite bundles.
|
void |
SurrogateBundle.update(InputStream input)
Deprecated.
This operation is not supported for surrogate bundles.
|
void |
CompositeBundle.update(Map compositeManifest)
Deprecated.
Updates this composite bundle with the specified manifest.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.