You can use scripting to generate a list of attributes of configuration objects. Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.
Using Jacl:
$AdminConfig attributes type
AdminConfig.attributes('type')
where:
$ | is a Jacl operator for substituting a variable name with its value |
AdminConfig | is an object that represents the WebSphere Application Server configuration |
attributes | is an AdminConfig command |
type | is an object type |
This command returns a list of attributes and its data type.
To get a list of attributes for the JDBCProvider type, use the following example command:
Using Jacl:
$AdminConfig attributes JDBCProvider
AdminConfig.attributes('JDBCProvider')
Using Jacl:
$AdminConfig required type
AdminConfig.required('type')
where:
$ | is a Jacl operator for substituting a variable name with its value |
AdminConfig | is an object that represents the WebSphere Application Server configuration |
required | is an AdminConfig command |
type | is an object type |
This command returns a list of required attributes.
To get a list of required attributes for the JDBCProvider type, use the following example command:
Using Jacl:
$AdminConfig required JDBCProvider
AdminConfig.required('JDBCProvider')
Using Jacl:
$AdminConfig defaults type
AdminConfig.defaults('type')
where:
$ | is a Jacl operator for substituting a variable name with its value |
AdminConfig | is an object that represents the WebSphere Application Server configuration |
defaults | is an AdminConfig command |
type | is an object type |
This command returns a list of all the attributes, types, and defaults.
To get a list of attributes with the defaults displayed for the JDBCProvider type, use the following example command:
Using Jacl:
$AdminConfig defaults JDBCProvider
AdminConfig.defaults('JDBCProvider')