|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.client.AdminClient
An admin client object that can be used both from the command line and programmatically.
Field Summary | |
protected Call |
call
|
protected static String |
ROOT_UNDEPLOY
|
Constructor Summary | |
AdminClient()
Construct an admin client w/o a logger |
Method Summary | |
Call |
getCall()
External access to our Call object |
String |
list()
|
String |
list(Options opts)
|
static void |
main(String[] args)
Creates in instance of AdminClient and
invokes process(args) . |
String |
process(InputStream input)
|
String |
process(Options opts,
InputStream input)
|
String |
process(Options opts,
String xmlFile)
|
String |
process(String xmlFile)
|
String |
process(String[] args)
Processes a set of administration commands. |
String |
process(URL xmlURL)
|
void |
processOpts(Options opts)
|
String |
quit()
|
String |
quit(Options opts)
|
String |
undeployHandler(String handlerName)
|
String |
undeployService(String serviceName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Call call
protected static final String ROOT_UNDEPLOY
Constructor Detail |
public AdminClient()
Method Detail |
public Call getCall()
public String list(Options opts) throws Exception
Exception
public String list() throws Exception
Exception
public String quit(Options opts) throws Exception
Exception
public String quit() throws Exception
Exception
public String undeployHandler(String handlerName) throws Exception
Exception
public String undeployService(String serviceName) throws Exception
Exception
public String process(String[] args) throws Exception
Processes a set of administration commands.
The following commands are available:
-lurl
sets the AxisServlet URL-hhostName
sets the AxisServlet host-pportNumber
sets the AxisServlet port-sservletPath
sets the path to the
AxisServlet-ffileName
specifies that a simple file
protocol should be used-uusername
sets the username-wpassword
sets the password-d
sets the debug flag (for instance, -ddd would
set it to 3)-tname
sets the transport chain touselist
will list the currently deployed servicesquit
will quit (???)passwd value
changes the admin passwordxmlConfigFile
deploys or undeploys
Axis components and web servicesIf -l
or -h -p -s
are not set, the
AdminClient will invoke
http://localhost:8080/axis/servlet/AxisServlet
.
args
- Commands to process
Exception
- Could be an IO exception, an AxisFault or something elsepublic void processOpts(Options opts) throws Exception
Exception
public String process(InputStream input) throws Exception
Exception
public String process(URL xmlURL) throws Exception
Exception
public String process(String xmlFile) throws Exception
Exception
public String process(Options opts, String xmlFile) throws Exception
Exception
public String process(Options opts, InputStream input) throws Exception
Exception
public static void main(String[] args)
AdminClient
and
invokes process(args)
.
Diagnostic output goes to log.info
.
args
- Commands to process
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |