com.atlassian.plugin.osgi.container.OsgiContainerManager |
Known Indirect Subclasses |
Manages the OSGi container and handles any interactions with it
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a list of installed bundles
| |||||||||||
Gets a list of host component registrations
| |||||||||||
Gets a list of service references
| |||||||||||
Gets a service tracker to follow a service registered under a certain interface.
| |||||||||||
Installs a bundle into a running OSGI container
| |||||||||||
Starts the OSGi container
| |||||||||||
Stops the OSGi container
|
Gets a list of installed bundles
Gets a list of host component registrations
Gets a list of service references
Gets a service tracker to follow a service registered under a certain interface. Will return a new ServiceTracker instance for every call, so don't call more than necessary. Any provided ServiceTracker instances will be opened before returning and automatically closed on shutdown.
interfaceClassName | The interface class as a String |
---|
IllegalStateException | If the OSGi container is not running |
---|
Installs a bundle into a running OSGI container
file | The bundle file to install |
---|
OsgiContainerException | If the bundle cannot be loaded |
---|
Starts the OSGi container
OsgiContainerException | If the container cannot be started |
---|
Stops the OSGi container
OsgiContainerException | If the container cannot be stopped |
---|