| Package | Description |
|---|---|
| org.jboss.osgi.framework.spi | |
| org.jboss.osgi.repository | |
| org.jboss.osgi.repository.spi | |
| org.jboss.osgi.resolver | |
| org.jboss.osgi.resolver.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
BundleReferenceClassLoader<T extends XBundle>
A
ModuleClassLoader that holds a reference to the underlying bundle. |
static class |
BundleReferenceClassLoader.Factory<T extends XBundle> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBundleAdaptor
An abstract implementation that adapts a
Module to a Bundle |
| Modifier and Type | Field and Description |
|---|---|
static AttachmentKey<XBundle> |
IntegrationConstants.BUNDLE_KEY
The bundle attachment key
|
| Modifier and Type | Method and Description |
|---|---|
protected XBundle |
AbstractBundleRevisionAdaptor.createBundle(org.osgi.framework.BundleContext context,
org.jboss.modules.Module module,
org.jboss.osgi.framework.internal.AbstractCommonBundleRevision bundleRev) |
XBundle |
AbstractBundleRevisionAdaptor.getBundle() |
XBundle |
BundleManager.getBundleById(long bundleId)
Get a bundle by id
Note, this will get the bundle regadless of its state.
|
XBundle |
BundleManager.getBundleByLocation(String location)
Get a bundle by location
|
XBundle |
ModuleManager.getBundleState(Class<?> clazz)
Get the bundle for the given class
|
XBundle |
ServiceState.getServiceOwner() |
XBundle |
BundleManager.getSystemBundle()
Get the system bundle
|
| Modifier and Type | Method and Description |
|---|---|
Set<XBundle> |
BundleManager.getBundles()
Get the set of bundles that are not in state
Bundle.UNINSTALLED. |
Set<XBundle> |
BundleManager.getBundles(Integer states)
Get the set of bundles that are in one of the given states.
|
Set<XBundle> |
BundleManager.getBundles(String symbolicName,
org.osgi.framework.VersionRange versionRange)
Get the set of bundles with the given symbolic name and version
Note, this will get bundles regadless of their state.
|
Set<XBundle> |
ServiceState.getUsingBundlesInternal() |
| Modifier and Type | Method and Description |
|---|---|
void |
FrameworkEvents.addBundleListener(XBundle bundle,
org.osgi.framework.BundleListener listener) |
void |
FrameworkEvents.addFrameworkListener(XBundle bundle,
org.osgi.framework.FrameworkListener listener) |
void |
FrameworkEvents.addServiceListener(XBundle bundle,
org.osgi.framework.ServiceListener listener,
String filterstr) |
void |
ServiceState.addUsingBundle(XBundle bundleState) |
void |
BundleLifecycle.BundleRefreshPolicy.endBundleRefresh(XBundle bundle) |
void |
FrameworkEvents.fireBundleEvent(org.osgi.framework.BundleContext context,
XBundle bundle,
int type) |
void |
FrameworkEvents.fireBundleEvent(XBundle bundle,
int type) |
void |
ServiceManager.fireFrameworkEvent(XBundle bundle,
int type,
org.osgi.framework.ServiceException ex) |
void |
FrameworkEvents.fireFrameworkEvent(XBundle bundle,
int type,
Throwable th,
org.osgi.framework.FrameworkListener... listeners) |
void |
FrameworkEvents.fireServiceEvent(XBundle bundle,
int type,
ServiceState<?> serviceState) |
void |
ServiceManager.fireServiceEvent(XBundle bundle,
int type,
ServiceState<?> serviceState) |
int |
BundleStartLevelSupport.getBundleStartLevel(XBundle bundle) |
int |
StartLevelManager.getBundleStartLevel(XBundle bundle) |
static LockManager.LockableItem[] |
LockUtils.getLockableItems(XBundle[] bundles,
LockManager.LockableItem[] others) |
S |
ServiceState.getScopedValue(XBundle bundle) |
<S> S |
ServiceManager.getService(XBundle bundle,
ServiceState<S> serviceState)
Returns the service object referenced by the specified
ServiceReference object. |
Collection<org.osgi.framework.hooks.service.ListenerHook.ListenerInfo> |
FrameworkEvents.getServiceListenerInfos(XBundle bundle) |
ServiceState<?> |
ServiceManager.getServiceReference(XBundle bundle,
String clazz)
Returns a
ServiceReference object for a service that implements and was registered under the specified
class. |
List<ServiceState<?>> |
ServiceManager.getServiceReferences(XBundle bundle,
String clazz,
String filterStr,
boolean checkAssignable)
Returns an array of
ServiceReference objects. |
boolean |
BundleStartLevelSupport.isBundleActivationPolicyUsed(XBundle bundle) |
boolean |
StartLevelManager.isBundleActivationPolicyUsed(XBundle bundle) |
boolean |
BundleStartLevelSupport.isBundlePersistentlyStarted(XBundle bundle) |
boolean |
StartLevelManager.isBundlePersistentlyStarted(XBundle bundle) |
ServiceState |
ServiceManager.registerService(XBundle bundle,
String[] classNames,
Object serviceValue,
Dictionary properties)
Registers the specified service object with the specified properties under the specified class names into the Framework.
|
void |
FrameworkEvents.removeBundleListener(XBundle bundle,
org.osgi.framework.BundleListener listener) |
void |
FrameworkEvents.removeBundleListeners(XBundle bundle) |
void |
FrameworkEvents.removeFrameworkListener(XBundle bundle,
org.osgi.framework.FrameworkListener listener) |
void |
FrameworkEvents.removeFrameworkListeners(XBundle bundle) |
void |
FrameworkEvents.removeServiceListener(XBundle bundle,
org.osgi.framework.ServiceListener listener) |
void |
FrameworkEvents.removeServiceListeners(XBundle bundle) |
void |
ServiceState.removeUsingBundle(XBundle bundle) |
void |
BundleLifecycle.resolve(XBundle bundle) |
void |
BundleManager.resolveBundle(XBundle bundle)
Resolve the given bundle
|
void |
StartLevelManager.setBundlePersistentlyStarted(XBundle bundle,
boolean started) |
void |
BundleStartLevelSupport.setBundleStartLevel(XBundle bundle,
int startlevel) |
void |
StartLevelManager.setBundleStartLevel(XBundle bundle,
int level) |
void |
BundleLifecycle.start(XBundle bundle,
int options) |
void |
BundleManager.startBundle(XBundle bundle,
int options)
Start the given bundle
|
void |
BundleLifecycle.BundleRefreshPolicy.startBundleRefresh(XBundle bundle) |
void |
BundleLifecycle.stop(XBundle bundle,
int options) |
void |
BundleManager.stopBundle(XBundle bundle,
int options)
Stop the given bundle
|
void |
ServiceState.ungetScopedValue(XBundle bundle) |
boolean |
ServiceManager.ungetService(XBundle bundle,
ServiceState<?> serviceState)
Releases the service object referenced by the specified
ServiceReference object. |
void |
BundleManager.uninstallBundle(XBundle bundle,
int options)
Uninstall the given bundle
|
void |
BundleManager.updateBundle(XBundle bundle,
InputStream input)
Update the given bundle
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.msc.service.ServiceController<T> |
BootstrapBundlesResolve.installActivateService(org.jboss.msc.service.ServiceTarget serviceTarget,
Set<XBundle> resolvedBundles) |
| Constructor and Description |
|---|
BootstrapBundlesActivate(org.jboss.msc.service.ServiceName baseName,
Set<XBundle> resolvedBundles) |
| Modifier and Type | Method and Description |
|---|---|
XBundle |
ResourceInstaller.installBundleResource(org.osgi.framework.BundleContext context,
XResource res) |
XBundle |
ResourceInstaller.installModuleResource(org.osgi.framework.BundleContext context,
XResource res) |
XBundle |
ResourceInstaller.installResource(org.osgi.framework.BundleContext context,
XResource res) |
| Modifier and Type | Method and Description |
|---|---|
XBundle |
AbstractResourceInstaller.installBundleResource(org.osgi.framework.BundleContext context,
XResource res) |
XBundle |
AbstractResourceInstaller.installModuleResource(org.osgi.framework.BundleContext context,
XResource res) |
XBundle |
AbstractResourceInstaller.installResource(org.osgi.framework.BundleContext context,
XResource res) |
| Modifier and Type | Method and Description |
|---|---|
XBundle |
XBundleRevision.getBundle()
Get the associated
XBundle |
| Modifier and Type | Method and Description |
|---|---|
XBundle |
AbstractBundleRevision.getBundle() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBundleRevision.setBundle(XBundle bundle) |
| Constructor and Description |
|---|
ResolverHookProcessor(org.osgi.framework.BundleContext syscontext,
Collection<XBundle> unresolved) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.