Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsadmin jython AdminConfig.create question

 
Anthony Beaty
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For future references, the answer is very simple:

print AdminConfig.types()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic