Use the addOSGiExtensions command to add several composite bundles as extensions 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 several composite bundles as extensions to a composition unit. The composite bundles must be available in the internal bundle repository, or in an external repository that can process composite bundles.
The specified composition unit.
A list of the composite bundle extensions to be added. Each list entry contains the symbolic name and the version for a composite bundle. The symbolic name, together with the version, identifies a unique composite bundle.
None.
None.
AdminTask.addOSGiExtensions([ '-cuName', 'cu_name', '-extensions', 'cba1_symbolic_name;cba1_version cba2_symbolic_name;cba2_version cba3_symbolic_name;cba3_version ' ])