Photo of the cover of WebSphere Application Server Administration Using Jython

Official companion web site

Show and Tell (Part 3)

Most recently modified on 2011-09-25
This article supplements the following sections of our book:
Chapter 8: The AdminConfig Object
Show and Tell Methods
page 155 to 159
You can buy our book from
Back to home pageBack to table of contents pageBack to interesting articles page

Requires a configuration ID. Returns all the attributes. Assume that the previous sample code returned at least one DataSource. The following will show the values of the attributes of the first DataSource. Notice that some attributes are references to other configuration elements.

print ds[0] )


This will expand the embedded references to other configuration elements. The printout can be verbose and difficult to read.

print AdminConfig.showall( ds[0] )


pool = AdminConfig.showAttribute( ds[0], 'connectionPool' ) print pool )

See also these related articles:
AdminConfig SyntaxThe WAS Configuration TreeConfiguration TypesConfiguration IDsShow and Tell (Part 1)Show and Tell (Part 2)Show and Tell (Part 3)Preserving ChangesModifyCreateConfiguration Validation (Part 1)Configuration Validation (Part 2)Almost Never Used Commands (Part 1)Almost Never Used Commands (Part 2)
Click here to schedule a speaker at your locationClick here to inquire about consulting for your companyClick here to inquire about training for your company.