wood burning stoves 2.0*
The moose likes Websphere and the fly likes wsadmin jython AdminConfig.create question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "wsadmin jython AdminConfig.create question" Watch "wsadmin jython AdminConfig.create question" New topic

wsadmin jython AdminConfig.create question

Anthony Beaty

Joined: Nov 27, 2012
Posts: 3
Hello all,

Is there a way to list all possible types that can be passed to AdminConfig.create?

For example, if you want to create a J2C Alias, you have to know to pass the type "JAASAuthData". If you know this name then you can get other details using AdminConfig.required('JAASAuthData'), but I have to know the keyword 'JAASAuthData'.

I have tried:

print AdminConfig.help()
print AdminConfig.create.help()

The first one works and give high level generic help on create. The second one returns "AttributeError: 'method' object has no attribute 'help'"

I have tried various searches in google and the info center, but can't find anything helpful.

I am using WAS v7 FP23 in case it's important. Thanks a lot.
Anthony Beaty

Joined: Nov 27, 2012
Posts: 3
For future references, the answer is very simple:

print AdminConfig.types()
subject: wsadmin jython AdminConfig.create question