Uses of Class
org.osgi.framework.BundleException
-
Packages that use BundleException Package Description org.apache.felix.framework org.apache.felix.framework.ext org.apache.felix.framework.util.manifestparser org.osgi.framework Framework Package Version 1.8.org.osgi.framework.launch Framework Launch Package Version 1.2. -
-
Uses of BundleException in org.apache.felix.framework
Methods in org.apache.felix.framework that throw BundleException Modifier and Type Method Description (package private) void
Felix. acquireInstallLock(java.lang.String location)
(package private) void
Felix. activateBundle(BundleImpl bundle, boolean fireEvent)
void
BundleContextImpl. addCapability()
(package private) void
ExtensionManager. addExtensionBundle(Felix felix, BundleImpl bundle)
Add an extension bundle.void
BundleContextImpl. addRequirement(java.lang.String s)
void
Felix. init()
void
Felix. init(FrameworkListener... listeners)
Bundle
BundleContextImpl. installBundle(java.lang.String location)
Bundle
BundleContextImpl. installBundle(java.lang.String location, java.io.InputStream is)
(package private) Bundle
Felix. installBundle(Bundle origin, java.lang.String location, java.io.InputStream is)
private StatefulResolver.ResolverHookRecord
StatefulResolver. prepareResolverHooks(java.util.Set<BundleRevision> mandatory, java.util.Set<BundleRevision> optional)
private void
StatefulResolver. releaseResolverHooks(StatefulResolver.ResolverHookRecord record)
private Bundle
Felix. reloadBundle(BundleArchive ba)
void
BundleContextImpl. removeCapability()
void
BundleContextImpl. removeRequirement()
(package private) void
StatefulResolver. resolve(java.util.Set<BundleRevision> mandatory, java.util.Set<BundleRevision> optional)
(package private) BundleRevision
StatefulResolver. resolve(BundleRevision revision, java.lang.String pkgName)
private void
Felix. resolveBundleRevision(BundleRevision revision)
private void
StatefulResolver. selectSingletons(StatefulResolver.ResolverHookRecord record)
private void
StatefulResolver. selectSingletonsUsingHooks(StatefulResolver.ResolverHookRecord record)
void
BundleImpl. start()
void
BundleImpl. start(int options)
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)
(package private) void
Felix. startBundle(BundleImpl bundle, int options)
Implementation for Bundle.start().void
BundleImpl. stop()
void
BundleImpl. stop(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)
(package private) void
Felix. stopBundle(BundleImpl bundle, boolean record)
void
BundleImpl. uninstall()
void
Felix. uninstall()
(package private) void
Felix. uninstallBundle(BundleImpl bundle)
void
BundleImpl. update()
void
BundleImpl. update(java.io.InputStream is)
void
Felix. update()
void
Felix. update(java.io.InputStream is)
(package private) void
Felix. updateBundle(BundleImpl bundle, java.io.InputStream is)
Constructors in org.apache.felix.framework that throw BundleException Constructor Description BundleRevisionImpl(BundleImpl bundle, java.lang.String id, java.util.Map headerMap, Content content)
-
Uses of BundleException in org.apache.felix.framework.ext
Methods in org.apache.felix.framework.ext that throw BundleException Modifier and Type Method Description void
FelixBundleContext. addCapability()
void
FelixBundleContext. addRequirement(java.lang.String s)
void
FelixBundleContext. removeCapability()
void
FelixBundleContext. removeRequirement()
-
Uses of BundleException in org.apache.felix.framework.util.manifestparser
Methods in org.apache.felix.framework.util.manifestparser that throw BundleException Modifier and Type Method Description private static java.util.List<ParsedHeaderClause>
ManifestParser. calculateImplicitImports(java.util.List<BundleCapability> exports, java.util.List<ParsedHeaderClause> imports)
private static java.util.List<BundleCapability>
ManifestParser. calculateImplicitUses(java.util.List<BundleCapability> exports, java.util.List<ParsedHeaderClause> imports)
private static boolean
ManifestParser. checkExtensionBundle(java.util.Map headerMap)
private boolean
NativeLibraryClause. checkOSVersions(java.lang.String osVersion, java.lang.String[] osversions)
private boolean
NativeLibraryClause. checkSelectionFilter(java.util.Map configMap, java.lang.String expr)
private static java.util.List<BundleCapability>
ManifestParser. convertProvideCapabilities(java.util.List<ParsedHeaderClause> clauses, BundleRevision owner)
private static java.util.List<BundleRequirement>
ManifestParser. convertRequireCapabilities(java.util.List<ParsedHeaderClause> clauses, BundleRevision owner)
private NativeLibraryClause
ManifestParser. getSelectedLibraryClause()
boolean
NativeLibraryClause. match(java.util.Map configMap)
private static java.util.List<ParsedHeaderClause>
ManifestParser. normalizeDynamicImportClauses(Logger logger, java.util.List<ParsedHeaderClause> clauses, java.lang.String mv)
private static java.util.List<ParsedHeaderClause>
ManifestParser. normalizeExportClauses(Logger logger, java.util.List<ParsedHeaderClause> clauses, java.lang.String mv, java.lang.String bsn, Version bv)
private static java.util.List<ParsedHeaderClause>
ManifestParser. normalizeImportClauses(Logger logger, java.util.List<ParsedHeaderClause> clauses, java.lang.String mv)
private static java.util.List<ParsedHeaderClause>
ManifestParser. normalizeProvideCapabilityClauses(Logger logger, java.util.List<ParsedHeaderClause> clauses, java.lang.String mv)
private static java.util.List<ParsedHeaderClause>
ManifestParser. normalizeRequireCapabilityClauses(Logger logger, java.util.List<ParsedHeaderClause> clauses, java.lang.String mv)
private static BundleCapabilityImpl
ManifestParser. parseBundleSymbolicName(BundleRevision owner, java.util.Map headerMap)
static java.util.List<BundleRequirement>
ManifestParser. parseDynamicImportHeader(Logger logger, BundleRevision owner, java.lang.String header)
static java.lang.String
ManifestParser. parseExtensionBundleHeader(java.lang.String header)
private static java.util.List<BundleRequirementImpl>
ManifestParser. parseFragmentHost(Logger logger, BundleRevision owner, java.util.Map headerMap)
Constructors in org.apache.felix.framework.util.manifestparser that throw BundleException Constructor Description ManifestParser(Logger logger, java.util.Map configMap, BundleRevision owner, java.util.Map headerMap)
-
Uses of BundleException in org.osgi.framework
Methods in org.osgi.framework that throw BundleException Modifier and Type Method Description Bundle
BundleContext. installBundle(java.lang.String location)
Installs a bundle from the specifiedlocation
identifier.Bundle
BundleContext. installBundle(java.lang.String location, java.io.InputStream input)
Installs a bundle from the specifiedInputStream
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(java.io.InputStream input)
Updates this bundle from anInputStream
. -
Uses of BundleException in org.osgi.framework.launch
Methods in org.osgi.framework.launch that throw BundleException Modifier and Type Method Description void
Framework. init()
Initialize this Framework.void
Framework. init(FrameworkListener... listeners)
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(java.io.InputStream in)
Stop and restart this Framework.
-