org.apache.axis.server
Class AxisServer

java.lang.Object
  |
  +--org.apache.axis.handlers.BasicHandler
        |
        +--org.apache.axis.AxisEngine
              |
              +--org.apache.axis.server.AxisServer
All Implemented Interfaces:
Handler, java.io.Serializable

public class AxisServer
extends AxisEngine

Author:
Doug Davis (dug@us.ibm.com), Glen Daniels (gdaniels@allaire.com)
See Also:
Serialized Form

Fields inherited from class org.apache.axis.AxisEngine
_handlerRegistry, _hasSafePassword, _serviceRegistry, _typeMappingRegistry, engineBasePath, engineConfigFilename, PROP_DEBUG_FILE, PROP_DEBUG_LEVEL, PROP_DOMULTIREFS, PROP_PASSWORD, PROP_XML_DECL, props, sep, transportRegistry
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
name, options
 
Constructor Summary
AxisServer()
           
AxisServer(java.lang.String basePath)
           
 
Method Summary
static java.lang.String getBasePath()
           
 AxisEngine getClientEngine()
          Get this server's client engine.
static AxisServer getSingleton()
           
 void invoke(MessageContext msgContext)
          Main routine of the AXIS server.
 boolean isRunning()
           
static void setBasePath(java.lang.String path)
           
 void start()
          Start the server.
 void stop()
          Stop the server.
 void undo(MessageContext msgContext)
          Must implement this in subclasses.
 
Methods inherited from class org.apache.axis.AxisEngine
deployHandler, deployService, deployTransport, deployTransport, getApplicationSession, getHandlerRegistry, getServiceRegistry, getTransportRegistry, getTypeMappingRegistry, hasSafePassword, init, registerTypeMapping, saveConfiguration, setAdminPassword, setHandlerRegistry, setServiceRegistry, setTransportRegistry, undeployHandler, undeployService, undeployTransport, unregisterTypeMapping
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
addOption, canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, setName, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisServer

public AxisServer()

AxisServer

public AxisServer(java.lang.String basePath)
Method Detail

setBasePath

public static void setBasePath(java.lang.String path)

getBasePath

public static java.lang.String getBasePath()

getSingleton

public static AxisServer getSingleton()

isRunning

public boolean isRunning()

start

public void start()
Start the server.

stop

public void stop()
Stop the server.

getClientEngine

public AxisEngine getClientEngine()
Get this server's client engine. Create it if it does not yet exist.
Overrides:
getClientEngine in class AxisEngine

invoke

public void invoke(MessageContext msgContext)
            throws AxisFault
Main routine of the AXIS server. In short we locate the appropriate handler for the desired service and invoke() it.
Overrides:
invoke in class BasicHandler

undo

public void undo(MessageContext msgContext)
Description copied from class: BasicHandler
Must implement this in subclasses.
Overrides:
undo in class BasicHandler


Copyright © 2001 Apache XML Project. All Rights Reserved.