Package 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:
Serializable,Handler
- Author:
- Doug Davis (dug@us.ibm.com), Glen Daniels (gdaniels@allaire.com)
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.axis.AxisEngine
_hasSafePassword, classCache, config, DEFAULT_ATTACHMENT_IMPL, ENV_ATTACHMENT_DIR, ENV_SERVLET_CONTEXT, ENV_SERVLET_REALPATH, PROP_ATTACHMENT_CLEANUP, PROP_ATTACHMENT_DIR, PROP_ATTACHMENT_IMPLEMENTATION, PROP_BP10_COMPLIANCE, PROP_BYTE_BUFFER_BACKING, PROP_BYTE_BUFFER_CACHE_INCREMENT, PROP_BYTE_BUFFER_RESIDENT_MAX_SIZE, PROP_BYTE_BUFFER_WORK_BUFFER_SIZE, PROP_DEBUG_FILE, PROP_DEBUG_LEVEL, PROP_DEFAULT_CONFIG_CLASS, PROP_DISABLE_PRETTY_XML, PROP_DOMULTIREFS, PROP_DOTNET_SOAPENC_FIX, PROP_EMIT_ALL_TYPES, PROP_ENABLE_NAMESPACE_PREFIX_OPTIMIZATION, PROP_PASSWORD, PROP_SEND_XSI, PROP_SOAP_ALLOWED_VERSION, PROP_SOAP_VERSION, PROP_SYNC_CONFIG, PROP_TWOD_ARRAY_ENCODING, PROP_XML_DECL, PROP_XML_ENCODING, PROP_XML_REUSE_SAX_PARSERS, shouldSaveConfigFields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateWSDL(MessageContext msgContext) Obtain WSDL information.Get this server's client engine.static AxisServervoidinvoke(MessageContext msgContext) Main routine of the AXIS server.booleanvoidstart()Start the server.voidstop()Stop the server.Methods inherited from class org.apache.axis.AxisEngine
addActorURI, cleanup, getActorURIs, getApplicationSession, getClassCache, getConfig, getCurrentMessageContext, getGlobalRequest, getGlobalResponse, getHandler, getService, getTransport, getTypeMappingRegistry, hasSafePassword, init, normaliseOptions, refreshGlobalOptions, removeActorURI, saveConfiguration, setAdminPassword, setCurrentMessageContext, setShouldSaveConfigMethods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
-
Field Details
-
log
protected static org.apache.commons.logging.Log log
-
-
Constructor Details
-
AxisServer
public AxisServer() -
AxisServer
-
-
Method Details
-
getServer
- Throws:
AxisFault
-
isRunning
public boolean isRunning() -
start
public void start()Start the server. -
stop
public void stop()Stop the server. -
getClientEngine
Get this server's client engine. Create it if it does not yet exist.- Specified by:
getClientEnginein classAxisEngine- Returns:
- an
AxisEnginethat is the client engine
-
invoke
Main routine of the AXIS server. In short we locate the appropriate handler for the desired service and invoke() it.- Parameters:
msgContext- theMessageContextto process with thisHandler.- Throws:
AxisFault- if the handler encounters an error
-
generateWSDL
Description copied from interface:HandlerObtain 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:
generateWSDLin interfaceHandler- Overrides:
generateWSDLin classBasicHandler- Parameters:
msgContext- theMessageContextto generate the WSDL to- Throws:
AxisFault- if there was a problem generating the WSDL
-