Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
OSGiApplicationCommands: OSGi Applications administrative commands
We can use these administrative commands to manage your OSGi applications.
To run these commands, use the AdminTask object of the wsadmin scripting client. Each command acts on multiple objects in one operation. The commands are provided so that you can make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.
Command-line help is provided for OSGi Applications commands:
- For a list of the available OSGi Applications commands in Jython and a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('OSGiApplicationCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
Subtopics
- addExternalBundleRepository command
Use the addExternalBundleRepository command to add a link to an external bundle repository.- addLocalRepositoryBundle command
Use the addLocalRepositoryBundle command to add a bundle, composite bundle or grouped-up set of bundles to the internal bundle repository that is included in the product.- addOSGiExtension command
Use the addOSGiExtension command to add a composite bundle as an extension to a composition unit.- addOSGiExtensions command
Use the addOSGiExtensions command to add several composite bundles as extensions to a composition unit.- exportDeploymentManifest command
Use the exportDeploymentManifest command to export the current deployment manifest, the DEPLOYMENT.MF file, from an enterprise bundle archive (EBA) asset. You might want to do this to save the information, or to import it into another identical application.- importDeploymentManifest command
Use the importDeploymentManifest command to import a deployment manifest to an enterprise bundle archive (EBA) asset. When you import the file, the bundles are resolved. If the bundles cannot be resolved, the import does not complete and an exception message is generated.- listExternalBundleRepositories command
Use the listExternalBundleRepositories command to list all links to external bundle repositories.- listLocalRepositoryBundles command
Use the listLocalRepositoryBundles command to list all bundles held in the bundle repository that is included in the product.- listOSGiExtensions command
Use the listOSGiExtensions command to list the symbolic names and versions of all the extensions that are currently added to a composition unit.- listAvailableOSGiExtensions command
Use the listAvailableOSGiExtensions command to list the symbolic names and versions of all the extensions that are available to be added to a specified composition unit. The command returns all those extensions that are available from a bundle repository, but that have not yet been deployed as an extension to the composition unit.- modifyExternalBundleRepository command
Use the modifyExternalBundleRepository command to modify a link to an external bundle repository.- removeExternalBundleRepository command
Use the removeExternalBundleRepository command to remove a link to an external bundle repository.- removeLocalRepositoryBundle command
Use the removeLocalRepositoryBundle command to remove a bundle or composite bundle from the bundle repository that is included in the product.- removeLocalRepositoryBundles command
Use the removeLocalRepositoryBundles command to remove bundles and composite bundles from the bundle repository that is included in the product.- removeOSGiExtension command
Use the removeOSGiExtension command to remove a composite bundle extension from a composition unit.- removeOSGiExtensions command
Use the removeOSGiExtensions command to remove several composite bundle extensions from a composition unit.- showExternalBundleRepository command
Use the showExternalBundleRepository command to show the configured parameters of an external bundle repository.- showLocalRepositoryBundle command
Use the showLocalRepositoryBundle command to show further details (in particular all manifest header entries) for a bundle in the bundle repository that is included in the product.
Parent topic: Administer OSGi Applications
Related concepts:
About OSGi ApplicationsRelated tasks:
Secure OSGi ApplicationsRelated reference:
OSGi Applications: Troubleshooting tips
Reference topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.