org.apache.axis.providers

Class BasicProvider

Implemented Interfaces:
Handler, Serializable
Known Direct Subclasses:
BSFProvider, ComProvider, JavaProvider

public abstract class BasicProvider
extends BasicHandler

This class has one way of keeping track of the operations declared for a particular service provider. I'm not exactly married to this though.

Field Summary

static String
OPTION_EXTRACLASSES
static String
OPTION_WSDL_INPUTSCHEMA
static String
OPTION_WSDL_PORTTYPE
static String
OPTION_WSDL_SERVICEELEMENT
static String
OPTION_WSDL_SERVICEPORT
static String
OPTION_WSDL_SOAPACTION_MODE
static String
OPTION_WSDL_TARGETNAMESPACE
protected static Log
entLog
protected static Log
log

Fields inherited from class org.apache.axis.handlers.BasicHandler

makeLockable, name, options

Method Summary

void
addOperation(String name, QName qname)
void
generateWSDL(MessageContext msgContext)
Generate the WSDL for this service.
String
getOperationName(QName qname)
String[]
getOperationNames()
QName[]
getOperationQNames()
abstract void
initServiceDesc(SOAPService service, MessageContext msgContext)
This method returns a ServiceDesc that contains the correct implimentation class.

Methods inherited from class org.apache.axis.handlers.BasicHandler

canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable

Field Details

OPTION_EXTRACLASSES

public static final String OPTION_EXTRACLASSES

OPTION_WSDL_INPUTSCHEMA

public static final String OPTION_WSDL_INPUTSCHEMA

OPTION_WSDL_PORTTYPE

public static final String OPTION_WSDL_PORTTYPE

OPTION_WSDL_SERVICEELEMENT

public static final String OPTION_WSDL_SERVICEELEMENT

OPTION_WSDL_SERVICEPORT

public static final String OPTION_WSDL_SERVICEPORT

OPTION_WSDL_SOAPACTION_MODE

public static final String OPTION_WSDL_SOAPACTION_MODE

OPTION_WSDL_TARGETNAMESPACE

public static final String OPTION_WSDL_TARGETNAMESPACE

entLog

protected static Log entLog

log

protected static Log log

Method Details

addOperation

public void addOperation(String name,
                         QName qname)

generateWSDL

public void generateWSDL(MessageContext msgContext)
            throws AxisFault
Generate the WSDL for this service. Put in the "WSDL" property of the message context as a org.w3c.dom.Document
Specified by:
generateWSDL in interface Handler
Overrides:
generateWSDL in interface BasicHandler

getOperationName

public String getOperationName(QName qname)

getOperationNames

public String[] getOperationNames()

getOperationQNames

public QName[] getOperationQNames()

initServiceDesc

public abstract void initServiceDesc(SOAPService service,
                                     MessageContext msgContext)
            throws AxisFault
This method returns a ServiceDesc that contains the correct implimentation class.

Copyright © 2005 Apache Web Services Project. All Rights Reserved.