org.apache.axis.utils

Class Admin

public class Admin extends Object

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
protected static Loglog
Method Summary
Element[]AdminService(Element[] xml)
Process a given XML document - needs cleanup.
static DocumentlistConfig(AxisEngine engine)
Get an XML document representing this engine's configuration.
static voidmain(String[] args)
Documentprocess(MessageContext msgContext, Element root)
The meat of the Admin service.
protected static DocumentprocessWSDD(MessageContext msgContext, AxisEngine engine, Element root)

Field Detail

log

protected static Log log

Method Detail

AdminService

public Element[] AdminService(Element[] xml)
Process a given XML document - needs cleanup.

listConfig

public static Document listConfig(AxisEngine engine)
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

public static void main(String[] args)

process

public Document process(MessageContext msgContext, Element root)
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 processing root the root Element of the XML

Returns: an XML Document indicating the results.

processWSDD

protected static Document processWSDD(MessageContext msgContext, AxisEngine engine, Element root)
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.