addOSGiExtension command

Use the addOSGiExtension command to add a composite bundle as an extension 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 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 adds a composite bundle as an extension to a composition unit. The composite bundle must be available in the internal bundle repository, or in an external repository that can process composite bundles.

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, uniquely identifies a composite bundle.

Conditional parameters

None.

Optional parameters

None.

Example

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

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-base-iseries&topic=ra_cli_ext_add
File name: ra_cli_ext_add.html