Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting) > OSGiApplicationCommands: OSGi Applications administrative commands


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.

Command-line help is provided for OSGi Applications commands:


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 WAS 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')

Parent topic: Add or removing extensions for an OSGi composition unit using wsadmin

Parent topic: OSGiApplicationCommands: OSGi Applications administrative commands

Related concepts:

About OSGi Applications

Related tasks:

Secure OSGi Applications
Add or removing extensions for an OSGi composition unit
Add or removing extensions for an OSGi composition unit using wsadmin

Related reference:

addOSGiExtension command
removeOSGiExtension command
addOSGiExtensions command
listAvailableOSGiExtensions command
removeOSGiExtensions command
OSGi Applications: Troubleshooting tips
Reference topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.

+

Search Tips   |   Advanced Search