站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

Admin (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.utils
Class Admin

java.lang.Object
  extended byorg.apache.axis.utils.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@macromedia.com)

Constructor Summary
Admin()
           
 
Method Summary
 Element[] 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 main(String[] args)
           
protected  void preProcessWSDD(MessageContext msgContext, AxisEngine engine, Element root)
           
 Document process(MessageContext msgContext, Element root)
          The meat of the Admin service.
protected static Document processWSDD(MessageContext msgContext, AxisEngine engine, Element root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Admin

public Admin()
Method Detail

AdminService

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

Throws:
Exception

processWSDD

protected static Document processWSDD(MessageContext msgContext,
                                      AxisEngine engine,
                                      Element root)
                               throws Exception
Throws:
Exception

preProcessWSDD

protected void preProcessWSDD(MessageContext msgContext,
                              AxisEngine engine,
                              Element root)

process

public Document process(MessageContext msgContext,
                        Element root)
                 throws Exception
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.
Throws:
Exception

listConfig

public static Document listConfig(AxisEngine engine)
                           throws AxisFault
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)
                 throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.