|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.utils.Admin
Handy static utility functions for turning XML into Axis deployment operations.
Constructor Summary | |
Admin()
|
Method Summary | |
org.w3c.dom.Document |
AdminService(MessageContext msgContext,
org.w3c.dom.Document xml)
Process a given XML document - needs cleanup. |
static org.w3c.dom.Element |
list(org.w3c.dom.Element root,
HandlerRegistry registry)
Return an XML Element containing the configuration info for one of the engine's Handler registries. |
static org.w3c.dom.Document |
listConfig(AxisEngine engine)
Get an XML document representing this engine's configuration. |
static void |
main(java.lang.String[] args)
|
org.w3c.dom.Document |
process(MessageContext msgContext,
org.w3c.dom.Element root)
The meat of the Admin service. |
static void |
processEngineConfig(org.w3c.dom.Document doc,
AxisEngine engine)
Process an engine configuration file by deploying appropriate stuff into the specified AxisEngine, and then telling it to save itself when we're done. |
static void |
registerChain(org.w3c.dom.Element elem,
AxisEngine engine)
Deploy a chain described in XML into an AxisEngine. |
static void |
registerHandler(org.w3c.dom.Element elem,
AxisEngine engine)
Deploy a handler described in XML into an AxisEngine. |
static void |
registerService(org.w3c.dom.Element elem,
AxisEngine engine)
Deploy a service described in XML into an AxisEngine. |
static void |
registerTransport(org.w3c.dom.Element elem,
AxisEngine engine)
Deploy a transport described in XML into an AxisEngine. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Admin()
Method Detail |
public org.w3c.dom.Document AdminService(MessageContext msgContext, org.w3c.dom.Document xml) throws AxisFault
public static void processEngineConfig(org.w3c.dom.Document doc, AxisEngine engine) throws java.lang.Exception
doc
- an XML document containing an Axis engine configurationengine
- the AxisEngine in which to deployjava.lang.Exception
- (should be DeploymentException?)public org.w3c.dom.Document process(MessageContext msgContext, org.w3c.dom.Element root) throws AxisFault
msgContext
- the MessageContext we're processingroot
- the root Element of the XMLpublic static org.w3c.dom.Document listConfig(AxisEngine engine) throws AxisFault
engine
- the AxisEngine to work withAxisFault
- public static org.w3c.dom.Element list(org.w3c.dom.Element root, HandlerRegistry registry) throws AxisFault
root
- the Element to work with (same as the one we return)registry
- the registry to write into this Elementpublic static void registerChain(org.w3c.dom.Element elem, AxisEngine engine) throws AxisFault
elem
- the engine
- the AxisEngine in which to deploypublic static void registerService(org.w3c.dom.Element elem, AxisEngine engine) throws AxisFault
elem
- the engine
- the AxisEngine in which to deploypublic static void registerHandler(org.w3c.dom.Element elem, AxisEngine engine) throws AxisFault
elem
- the engine
- the AxisEngine in which to deploypublic static void registerTransport(org.w3c.dom.Element elem, AxisEngine engine) throws AxisFault
elem
- the engine
- the AxisEngine in which to deploypublic static void main(java.lang.String[] args) throws java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |