removeOSGiExtension command

Use the removeOSGiExtension command to remove a composite bundle extension from 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:
  • 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')

After using the command, save your changes to the master configuration by using the following command:

AdminConfig.save()

Purpose

This command removes a composite bundle extension from a composition unit.

Target object

The specified composition unit.

Required parameters

-cuName cu_name
The name of the composition unit.
-symbolicName cba_symbolic_name
The non-localizable name for this composite bundle.
-version cba_version
The version of this composite bundle.
The composite bundle version is in the form n.n.n, for example 1.1.0. The symbolic name, together with the version, identifies a unique composite bundle.
Note: You can use the listOSGiExtensions command to list the symbolic names and versions of all the extensions that are currently added to a composition unit.

Conditional parameters

None.

Optional parameters

None.

Example

AdminTask.removeOSGiExtension('
  -cuName cu_name 
  -symbolicName cba_symbolic_name 
  -version cba_version
')

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-express-dist&topic=ra_cli_ext_remove

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