Package org.apache.axis.utils
Class Admin
java.lang.Object
org.apache.axis.utils.Admin
Handy static utility functions for turning XML into
Axis deployment operations.
- Author:
- Doug Davis (dug@us.ibm.com), Glen Daniels (gdaniels@apache.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionElement[]
AdminService
(Element[] xml) Process a given XML document - needs cleanup.static Document
listConfig
(AxisEngine engine) Get an XML document representing this engine's configuration.static void
process
(MessageContext msgContext, Element root) The meat of the Admin service.protected static Document
processWSDD
(MessageContext msgContext, AxisEngine engine, Element root)
-
Field Details
-
log
protected static org.apache.commons.logging.Log log
-
-
Constructor Details
-
Admin
public Admin()
-
-
Method Details
-
AdminService
Process a given XML document - needs cleanup.- Throws:
Exception
-
processWSDD
protected static Document processWSDD(MessageContext msgContext, AxisEngine engine, Element root) throws Exception - Throws:
Exception
-
process
The meat of the Admin service. Process an xML document rooted with a "deploy", "undeploy", "list", or "quit" element.- Parameters:
msgContext
- the MessageContext we're processingroot
- the root Element of the XML- Returns:
- an XML Document indicating the results.
- Throws:
Exception
-
listConfig
Get an XML document representing this engine's configuration. This document is suitable for saving and reloading into the engine.- Parameters:
engine
- the AxisEngine to work with- Returns:
- an XML document holding the engine config
- Throws:
AxisFault
-
main
- Throws:
Exception
-