526 Patterns: Extended Enterprise SOA and Web Services
D.1.5 The You Name It option
In most cases, each WSAdmin Automation Platform function’s option is related to
one config object attribute. For instance, the option -classpath in
createJDBCProvider command is related to the JDBCProvider's classpath
attribute. The
You Name It option is used when you cannot find a predefined
option that corresponds to a config object attribute. Suppose you want to create a
JDBCProvider. The create JDBCProvider function does not provide the option
-description, and description is a JDBCProvider attribute. To set a
JDBCProvider description you use the You Name It capability by typing
-description <description value>. WSAdmin Automation Platform will try to
match the option with a config object attribute. If the attribute is not found an error
is returned.
To list all attributes of a specific config object, type listAttr <ConifgObject>. For
instance, listAttr JDBCProvider returns the output in Example D-16.
Example: D-16 Config object attribute list
List of attributes for config object JDBCProvider
-------------------------------------------------
1 - classpath String*
2 - description String
3 - implementationClassName String
4 - name String
5 - nativepath String*
6 - propertySet J2EEResourcePropertySet
7 - providerType String
8 - xa boolean
Get Patterns: Extended Enterprise SOA and Web Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.