listSCAExports command
Use the listSCAExports command to list the exports of a Service Component Architecture (SCA) module.
Prerequisites
You can run the command in
either local mode or connected mode:
- In local mode, specify the wsadmin -conntype none option.
- To run in connected mode, you must connect as a cell administrator that is assigned the CellAdmin role, or a deployment environment administrator that is assigned the DEAdmin role.
Location
Start the wsadmin scripting client from the install_root/profiles/deployment_manager_profile/bin directory.
Syntax
- Using Jython:
AdminTask.listSCAExports ('-moduleName module_name [-applicationName application_name]')
- Using Jacl:
$AdminTask listSCAExports {-moduleName module_name [-applicationName application_name]}
Required parameters
- -moduleName module_name
- The SCA module name.
Optional parameters
- -applicationName application_name
- The name of the application associated with the SCA module. Providing an application name improves performance.
Example
To list the exports of a module called myModule in the application called myApplication for use in another script:
- Jython example:
AdminTask.listSCAExports('-moduleName myModule -applicationName myApplication')
Tip: Add the Jython print statement before the command when you want to see formatted output. - Jacl example:
$AdminTask listSCAExports {-moduleName myModule -applicationName myApplication}