Use the addOSGiExtension command to add a composite bundle as an extension to a composition unit.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('OSGiApplicationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command adds a composite bundle as an extension to a composition unit. The composite bundle must be available in the internal bundle repository, or in an external repository that can process composite bundles.
The specified composition unit.
None.
None.
AdminTask.addOSGiExtension(' -cuName cu_name -symbolicName cba_symbolic_name -version cba_version ')