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.

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.

Command-line help is provided:
  • For a list of the available OSGi Applications commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('OSGiApplicationCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

Purpose

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.

Target object

The specified composition unit.

Required parameters

-cuName cu_name
The name of the composition unit.

Conditional parameters

None.

Optional parameters

None.

Example

AdminTask.listAvailableOSGiExtensions('-cuName cu_name')

Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Monday, 21 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=ra_cli_available_exts_list
File name: ra_cli_available_exts_list.html