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.
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')
This command lists the symbolic names and versions of all the extensions that are available to be added to a specified composition unit. This corresponds to the list that is displayed in the WebSphere Application Server administrative console if you open the details of a composition unit, and click Manage extensions for this composition unit and then click Add. The output from the listAvailableOSGiExtensions command is formatted so that you can copy the list of extensions, then paste them into the removeOSGiExtensions command.
The specified composition unit.
None.
None.
AdminTask.listAvailableOSGiExtensions('-cuName cu_name')