站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

BasicProvider (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.providers
Class BasicProvider

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.apache.axis.providers.BasicProvider
All Implemented Interfaces:
Handler, Serializable
Direct Known Subclasses:
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.

See Also:
Serialized Form

Field Summary
static String OPTION_WSDL_INPUTSCHEMA
           
static String OPTION_WSDL_PORTTYPE
           
static String OPTION_WSDL_SERVICEELEMENT
           
static String OPTION_WSDL_SERVICEPORT
           
static String OPTION_WSDL_TARGETNAMESPACE
           
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
BasicProvider()
           
 
Method Summary
 void addOperation(String name, javax.xml.namespace.QName qname)
           
 void generateWSDL(MessageContext msgContext)
          Generate the WSDL for this service.
 String getOperationName(javax.xml.namespace.QName qname)
           
 String[] getOperationNames()
           
 javax.xml.namespace.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, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, invoke, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTION_WSDL_PORTTYPE

public static final String OPTION_WSDL_PORTTYPE
See Also:
Constant Field Values

OPTION_WSDL_SERVICEELEMENT

public static final String OPTION_WSDL_SERVICEELEMENT
See Also:
Constant Field Values

OPTION_WSDL_SERVICEPORT

public static final String OPTION_WSDL_SERVICEPORT
See Also:
Constant Field Values

OPTION_WSDL_TARGETNAMESPACE

public static final String OPTION_WSDL_TARGETNAMESPACE
See Also:
Constant Field Values

OPTION_WSDL_INPUTSCHEMA

public static final String OPTION_WSDL_INPUTSCHEMA
See Also:
Constant Field Values
Constructor Detail

BasicProvider

public BasicProvider()
Method Detail

initServiceDesc

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

Throws:
AxisFault

addOperation

public void addOperation(String name,
                         javax.xml.namespace.QName qname)

getOperationName

public String getOperationName(javax.xml.namespace.QName qname)

getOperationQNames

public javax.xml.namespace.QName[] getOperationQNames()

getOperationNames

public String[] getOperationNames()

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 class BasicHandler
Throws:
AxisFault


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.