Use the listOSGiExtensions command to list the symbolic names and versions of all the extensions that are currently added to a composition unit.
To run the command, use the AdminTask object of the wsadmin scripting client.
print AdminTask.help('OSGiApplicationCommands')
print AdminTask.help('command_name')
This command lists the symbolic names and versions of all the extensions that are currently added to a 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 . The output from the listOSGiExtensions 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.listOSGiExtensions('-cuName cu_name')