listOSGiExtensions command

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.

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 OSGi Applications commands:
  • 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 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.

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.listOSGiExtensions('-cuName cu_name')

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: Tuesday, 20 September 2011
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=ra_cli_exts_list

Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)