Where in the world is com.ibm.ws.scripting.adminCommand.AdminTask?

Frustrated by the damned horrible API provided by WebSphere Admin Server, I am writing my own DSL Java shell. Now my jython files just read:

from my.package import MyDSL
config = MyDSL(AdminConfig, AdminTask)
config.goGoGadgetSkates() # or something like that

The essential part is that I send objects (#% $$! @ #) To god AdminConfigand AdminTaskso that DSL can use them to perform operations in WAS.

To compile DSL, I need to include class files for these two objects. I find them by first setting the constructor as:

public MyDSL(Object a, Object b) {
    System.out.println(a.getClass());
    System.out.println(b.getClass());
}

The result showed that the AdminConfig object is an instance com.ibm.ws.scripting.AdminConfigClient. I easily found a jar that contains this class, and all is well.

AdminTask - com.ibm.ws.scripting.adminCommand.AdminTask. , , - .

, com.ibm.ws.scripting.adminCommand.AdminTask WSAdmin jython. , python?

, , - , com.ibm.ws.scripting.adminCommand.AdminTask ?

+4
1

AdminConfigClient API/SPI, , . API/SPI ConfigServiceFactory.

AdminTask CommandMgr. CommandMgr, , AdminTask.

+1

All Articles