| Modifier and Type | Method and Description |
|---|---|
| public BundleDTO | |
| public Map | Returns: Returns the map of headers entries.Addresses the bundle by its identifier. id)Get the header for a bundle given by its bundle Id. |
| public Collection | Returns: Returns a collection of BundleDTO objects.Get the bundle representations for all bundles currently installed in the managed framework. |
| public BundleStartLevelDTO | Returns: Returns aBundleStartLevelDTO describing the current
start level of the bundle.Addresses the bundle by its identifier. id)Get the start level for a bundle given by its bundle Id. |
| public int | Returns: Returns the current bundle state as defined inorg..Addresses the bundle by its identifier. id)Get the state for a given bundle Id. |
| public FrameworkStartLevelDTO | Returns: Returns the current framework start level in the form of aFrameworkStartLevelDTO.Retrieves the current framework start level. |
| public ServiceReferenceDTO | Returns: The service representation asServiceReferenceDTO.Addresses the service by its identifier. id)Get the service representation for a service given by its service Id. |
| public Collection | Returns: Returns the service representations in the form ofServiceReferenceDTO objects.Get the service representations for all services. |
| public Collection | Returns: Returns the service representations in the form ofServiceReferenceDTO objects.Passes a filter to restrict the result set. filter)Get the service representations for all services. |
| public BundleDTO | Returns: Returns theBundleDTO of the newly installed bundle.Passes the location string to retrieve the bundle content
from. location)Install a new bundle given by an externally reachable location string, typically describing a URL. |
| public void | setBundleStartLevel(long
Addresses the bundle by its identifier. id, int The target start level. startLevel)Set the start level for a bundle given by its bundle Id. |
| public void | setFrameworkStartLevel(FrameworkStartLevelDTO
set the framework start level to this target. startLevel)Sets the current framework start level. |
| public void | |
| public void | startBundle(long
Addresses the bundle by its identifier. id, int Passes additional options as defined in
options)org.Start a bundle given by its bundle Id. |
| public void | |
| public void | stopBundle(long
Addresses the bundle by its identifier. id, int Passes additional options as defined in
options)org.Stop a bundle given by its bundle Id. |
| public BundleDTO | Returns: Returns theBundleDTO of the uninstalled bundle.Addresses the bundle by its identifier. id)Uninstall a bundle given by its bundle Id. |
| public BundleDTO | Returns: Returns theBundleDTO of the updated bundle.Addresses the bundle by its identifier. id)Updates a bundle given by its bundle Id using the bundle-internal update location. |
| public BundleDTO | Returns: Returns theBundleDTO of the updated bundle.Addresses the bundle by its identifier. id, String The URL whose content is to be used to update the bundle. url)Updates a bundle given by its URI path using the content at the specified URL. |
| getBundle | back to summary |
|---|---|
| public BundleDTO getBundle(long id) throws Exception Retrieve the bundle representation for a given bundle Id. | |
| getBundleHeaders | back to summary |
|---|---|
| public Map Get the header for a bundle given by its bundle Id. | |
| getBundles | back to summary |
|---|---|
| public Collection Get the bundle representations for all bundles currently installed in the managed framework.
| |
| getBundleStartLevel | back to summary |
|---|---|
| public BundleStartLevelDTO getBundleStartLevel(long id) throws Exception Get the start level for a bundle given by its bundle Id.
| |
| getBundleState | back to summary |
|---|---|
| public int getBundleState(long id) throws Exception Get the state for a given bundle Id.
| |
| getFrameworkStartLevel | back to summary |
|---|---|
| public FrameworkStartLevelDTO getFrameworkStartLevel() throws Exception Retrieves the current framework start level.
| |
| getServiceReference | back to summary |
|---|---|
| public ServiceReferenceDTO getServiceReference(long id) throws Exception Get the service representation for a service given by its service Id.
| |
| getServiceReferences | back to summary |
|---|---|
| public Collection Get the service representations for all services.
| |
| getServiceReferences | back to summary |
|---|---|
| public Collection Get the service representations for all services.
| |
| installBundle | back to summary |
|---|---|
| public BundleDTO installBundle(String location) throws Exception Install a new bundle given by an externally reachable location string, typically describing a URL. | |
| setBundleStartLevel | back to summary |
|---|---|
| public void setBundleStartLevel(long id, int startLevel) throws Exception Set the start level for a bundle given by its bundle Id.
| |
| setFrameworkStartLevel | back to summary |
|---|---|
| public void setFrameworkStartLevel(FrameworkStartLevelDTO startLevel) throws Exception Sets the current framework start level.
| |
| startBundle | back to summary |
|---|---|
| public void startBundle(long id) throws Exception Start a bundle given by its bundle Id.
| |
| startBundle | back to summary |
|---|---|
| public void startBundle(long id, int options) throws Exception Start a bundle given by its bundle Id.
| |
| stopBundle | back to summary |
|---|---|
| public void stopBundle(long id) throws Exception Stop a bundle given by its bundle Id.
| |
| stopBundle | back to summary |
|---|---|
| public void stopBundle(long id, int options) throws Exception Stop a bundle given by its bundle Id.
| |
| uninstallBundle | back to summary |
|---|---|
| public BundleDTO uninstallBundle(long id) throws Exception Uninstall a bundle given by its bundle Id. | |
| updateBundle | back to summary |
|---|---|
| public BundleDTO updateBundle(long id) throws Exception Updates a bundle given by its bundle Id using the bundle-internal update location. | |
| updateBundle | back to summary |
|---|---|
| public BundleDTO updateBundle(long id, String url) throws Exception Updates a bundle given by its URI path using the content at the specified URL. | |