removeOSGiExtensions command
Use the removeOSGiExtensions command to remove several composite bundle extensions from a composition unit.
To run the command, use the AdminTask object of the wsadmin scripting client.
- 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 configuration repository by using the following command:
Purpose
This command removes several composite bundle extensions from a composition unit.
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. 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.
- -extensions
-
A list of the composite bundle extensions to be removed. Each list entry contains the symbolic name and the version for a composite bundle. The symbolic name, together with the version, uniquely identifies a composite bundle.
- cba_symbolic_name
- The non-localizable name for this composite bundle.
- cba_version
- The version of this composite bundle.
Conditional parameters
None.
Optional parameters
None.
Example
AdminTask.removeOSGiExtensions([
'-cuName', 'cu_name',
'-extensions',
'cba1_symbolic_name;cba1_version
cba2_symbolic_name;cba2_version
cba3_symbolic_name;cba3_version
'
])