org.jboss.axis.server
Class AxisServer

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.axis.AxisEngine (src) 
          extended byorg.jboss.axis.server.AxisServer
All Implemented Interfaces:
Handler (src)
Direct Known Subclasses:
ServerEngine (src)

public class AxisServer
extends AxisEngine (src)


Field Summary
 
Fields inherited from class org.jboss.axis.AxisEngine (src)
_hasSafePassword, config, DEFAULT_ATTACHMENT_IMPL, ENV_ATTACHMENT_DIR, ENV_SERVLET_CONTEXT, ENV_SERVLET_REALPATH, PROP_ATTACHMENT_CLEANUP, PROP_ATTACHMENT_DIR, PROP_ATTACHMENT_IMPLEMENTATION, PROP_DEBUG_FILE, PROP_DEBUG_LEVEL, PROP_DEFAULT_CONFIG_CLASS, PROP_DOMULTIREFS, PROP_PASSWORD, PROP_SEND_MINIMIZED_ELEMENTS, PROP_SEND_XSI, PROP_SOAP_ALLOWED_VERSION, PROP_SOAP_VERSION, PROP_SYNC_CONFIG, PROP_TWOD_ARRAY_ENCODING, PROP_XML_DECL, PROP_XML_ENCODING, shouldSaveConfig
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
AxisServer()
           
AxisServer(EngineConfiguration (src)  config)
           
 
Method Summary
 void generateWSDL(MessageContext (src)  msgContext)
          Obtain WSDL information.
 AxisEngine (src) getClientEngine()
          Get this server's client engine.
static AxisServer (src) getServer(java.util.Map environment)
           
 void invoke(MessageContext (src)  msgContext)
          Main routine of the AXIS server.
 boolean isRunning()
           
 void start()
          Start the server.
 void stop()
          Stop the server.
 
Methods inherited from class org.jboss.axis.AxisEngine (src)
addActorURI, cleanup, getActorURIs, getApplicationSession, getClassCache, getConfig, getCurrentMessageContext, getGlobalRequest, getGlobalResponse, getHandler, getService, getTransport, getTypeMappingRegistry, hasSafePassword, init, normaliseOptions, refreshGlobalOptions, removeActorURI, saveConfiguration, setAdminPassword, setCurrentMessageContext, setShouldSaveConfig
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
canHandleBlock, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
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(EngineConfiguration (src)  config)
Method Detail

getServer

public static AxisServer (src)  getServer(java.util.Map environment)
                            throws AxisFault (src) 
Throws:
AxisFault (src)

isRunning

public boolean isRunning()

start

public void start()
Start the server.


stop

public void stop()
Stop the server.


getClientEngine

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

Specified by:
getClientEngine in class AxisEngine (src)

invoke

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

Specified by:
invoke in interface Handler (src)
Specified by:
invoke in class BasicHandler (src)
Throws:
AxisFault (src)

generateWSDL

public void generateWSDL(MessageContext (src)  msgContext)
                  throws AxisFault (src) 
Description copied from interface: Handler (src)
Obtain WSDL information. Some Handlers will implement this by merely setting properties in the MessageContext, others (providers) will take responsibility for doing the "real work" of generating WSDL for a given service.

Specified by:
generateWSDL in interface Handler (src)
Overrides:
generateWSDL in class BasicHandler (src)
Throws:
AxisFault (src)