Modifier and Type | Class and Description |
---|---|
class |
BundleFragment |
class |
BundleHost |
class |
InternalSystemBundle
This class subclasses Bundle to provide a system Bundle
so that the framework can be represented as a bundle and
can access the services provided by other bundles.
|
Modifier and Type | Method and Description |
---|---|
protected static AbstractBundle |
AbstractBundle.createBundle(BundleData bundledata,
Framework framework,
boolean setBundle)
Bundle object constructor.
|
protected AbstractBundle[] |
Framework.getAllBundles()
Retrieve a list of all installed bundles.
|
AbstractBundle |
Framework.getBundle(long id)
Retrieve the bundle that has the given unique identifier.
|
AbstractBundle |
BundleRepository.getBundle(long bundleId)
Gets a bundle by its bundle Id.
|
protected AbstractBundle |
Framework.getBundleByLocation(String location)
Locate an installed bundle with a given identity.
|
AbstractBundle |
BundleContextImpl.getBundleByLocation(String location)
Retrieve the bundle that has the given location.
|
protected AbstractBundle[] |
Framework.getBundleBySymbolicName(String symbolicName)
Locate an installed bundle with a given symbolic name
|
protected AbstractBundle |
FrameworkCommandProvider.getBundleFromToken(CommandInterpreter intp,
String token,
boolean error)
Given a number or a token representing a bundle symbolic name or bundle location,
retrieve the Bundle object with that id.
|
AbstractBundle |
BundleContextImpl.getBundleImpl() |
AbstractBundle[] |
BundleRepository.getBundles(String symbolicName) |
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.
|
Modifier and Type | Method and Description |
---|---|
List<AbstractBundle> |
Framework.getBundleBySymbolicName(String symbolicName,
Version version)
Retrieve the bundles that has the given symbolic name and version.
|
List<AbstractBundle> |
BundleRepository.getBundles()
Gets a list of bundles ordered by install order.
|
List<AbstractBundle> |
BundleRepository.getBundles(String symbolicName,
Version version) |
Modifier and Type | Method and Description |
---|---|
void |
BundleRepository.add(AbstractBundle bundle) |
protected void |
StartLevelManager.decFWSL(int decToSL,
AbstractBundle[] shutdown)
Decrement the active startlevel by one
|
protected abstract BundleEntry |
BundleResourceHandler.findBundleEntry(URL url,
AbstractBundle bundle)
Finds the bundle entry for this protocal.
|
protected static BaseClassLoader |
BundleResourceHandler.getBundleClassLoader(AbstractBundle bundle) |
protected File |
Framework.getDataFile(AbstractBundle bundle,
String filename)
Creates a
File object for a file in the persistent
storage area provided for the bundle by the framework. |
protected void |
StartLevelManager.incFWSL(int incToSL,
AbstractBundle[] launchBundles)
Increment the active startlevel by one
|
protected abstract boolean |
AbstractBundle.reload(AbstractBundle newBundle)
Reload from a new bundle.
|
protected boolean |
BundleFragment.reload(AbstractBundle newBundle)
Reload from a new bundle.
|
protected boolean |
InternalSystemBundle.reload(AbstractBundle newBundle)
Reload from a new bundle.
|
protected boolean |
BundleHost.reload(AbstractBundle newBundle)
Reload from a new bundle.
|
boolean |
BundleRepository.remove(AbstractBundle bundle) |
protected void |
Framework.resumeBundle(AbstractBundle bundle)
Resume a bundle.
|
protected boolean |
Framework.suspendBundle(AbstractBundle bundle,
boolean lock)
Suspend a bundle.
|
protected void |
InternalSystemBundle.unresolvePermissions(AbstractBundle[] refreshedBundles)
No work to do for the SystemBundle.
|
void |
BundleRepository.update(String oldSymbolicName,
AbstractBundle bundle) |
Modifier and Type | Method and Description |
---|---|
protected AbstractBundle |
Framework.installWorker(String location,
PrivilegedExceptionAction<AbstractBundle> action,
BundleContext origin)
Worker method to install a bundle.
|
Constructor and Description |
---|
ManifestLocalization(AbstractBundle bundle,
Dictionary<String,String> rawHeaders) |
Modifier and Type | Method and Description |
---|---|
protected BundleEntry |
Handler.findBundleEntry(URL url,
AbstractBundle bundle) |
Modifier and Type | Method and Description |
---|---|
protected BundleEntry |
Handler.findBundleEntry(URL url,
AbstractBundle bundle) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeBase
This is a base class for both composite and surrogate bundles.
|
class |
CompositeImpl |
class |
SurrogateImpl |
Modifier and Type | Method and Description |
---|---|
AbstractBundle |
BundleLoader.getBundle() |
AbstractBundle |
BundleLoaderProxy.getBundleHost() |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.