org.apache.geronimo.axis2
Class Axis2WebServiceContainer

java.lang.Object
  extended by org.apache.geronimo.axis2.Axis2WebServiceContainer
All Implemented Interfaces:
Serializable, WebServiceContainer
Direct Known Subclasses:
EJBWebServiceContainer, POJOWebServiceContainer

public abstract class Axis2WebServiceContainer
extends Object
implements WebServiceContainer

See Also:
Serialized Form

Nested Class Summary
static class Axis2WebServiceContainer.Axis2TransportInfo
           
 
Nested classes/interfaces inherited from interface org.apache.geronimo.webservices.WebServiceContainer
WebServiceContainer.Request, WebServiceContainer.Response
 
Field Summary
protected  JAXWSAnnotationProcessor annotationProcessor
           
protected  Binding binding
           
protected  URL configurationBaseUrl
           
protected  org.apache.axis2.context.ConfigurationContext configurationContext
           
protected  Class endpointClass
           
protected  String endpointClassName
           
protected  JNDIResolver jndiResolver
           
protected  PortInfo portInfo
           
static String REQUEST
           
static String RESPONSE
           
protected  org.apache.axis2.description.AxisService service
           
protected  WSDLQueryHandler wsdlQueryHandler
           
 
Fields inherited from interface org.apache.geronimo.webservices.WebServiceContainer
LOCATION_REPLACEMENT_TOKEN, MESSAGE_CONTEXT, POJO_INSTANCE, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE
 
Constructor Summary
Axis2WebServiceContainer(PortInfo portInfo, String endpointClassName, ClassLoader classLoader, Context context, URL configurationBaseUrl)
           
 
Method Summary
protected  void configureHandlers()
           
protected  AxisServiceGenerator createServiceGenerator()
           
 void destroy()
           
protected  void destroyHandlers()
           
protected  void doService(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
 void doService2(WebServiceContainer.Request request, WebServiceContainer.Response response, org.apache.axis2.context.MessageContext msgContext)
           
 void getWsdl(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
 void init()
           
protected abstract  void initContextRoot(WebServiceContainer.Request request)
           
protected  void injectHandlers()
           
protected  void injectResources(Object instance)
           
 void invoke(WebServiceContainer.Request request, WebServiceContainer.Response response)
           
protected  void processGETRequest(WebServiceContainer.Request request, WebServiceContainer.Response response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext)
           
protected  void processPOSTRequest(WebServiceContainer.Request request, WebServiceContainer.Response response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext)
           
protected  void setMsgContextProperties(WebServiceContainer.Request request, WebServiceContainer.Response response, org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext msgContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST

public static final String REQUEST

RESPONSE

public static final String RESPONSE

endpointClassName

protected String endpointClassName

portInfo

protected PortInfo portInfo

configurationContext

protected org.apache.axis2.context.ConfigurationContext configurationContext

jndiResolver

protected JNDIResolver jndiResolver

endpointClass

protected Class endpointClass

service

protected org.apache.axis2.description.AxisService service

configurationBaseUrl

protected URL configurationBaseUrl

wsdlQueryHandler

protected WSDLQueryHandler wsdlQueryHandler

binding

protected Binding binding

annotationProcessor

protected JAXWSAnnotationProcessor annotationProcessor
Constructor Detail

Axis2WebServiceContainer

public Axis2WebServiceContainer(PortInfo portInfo,
                                String endpointClassName,
                                ClassLoader classLoader,
                                Context context,
                                URL configurationBaseUrl)
Method Detail

init

public void init()
          throws Exception
Throws:
Exception

createServiceGenerator

protected AxisServiceGenerator createServiceGenerator()

getWsdl

public void getWsdl(WebServiceContainer.Request request,
                    WebServiceContainer.Response response)
             throws Exception
Specified by:
getWsdl in interface WebServiceContainer
Throws:
Exception

invoke

public void invoke(WebServiceContainer.Request request,
                   WebServiceContainer.Response response)
            throws Exception
Specified by:
invoke in interface WebServiceContainer
Throws:
Exception

doService

protected void doService(WebServiceContainer.Request request,
                         WebServiceContainer.Response response)
                  throws Exception
Throws:
Exception

initContextRoot

protected abstract void initContextRoot(WebServiceContainer.Request request)

doService2

public void doService2(WebServiceContainer.Request request,
                       WebServiceContainer.Response response,
                       org.apache.axis2.context.MessageContext msgContext)
                throws Exception
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface WebServiceContainer

processGETRequest

protected void processGETRequest(WebServiceContainer.Request request,
                                 WebServiceContainer.Response response,
                                 org.apache.axis2.description.AxisService service,
                                 org.apache.axis2.context.MessageContext msgContext)
                          throws Exception
Throws:
Exception

setMsgContextProperties

protected void setMsgContextProperties(WebServiceContainer.Request request,
                                       WebServiceContainer.Response response,
                                       org.apache.axis2.description.AxisService service,
                                       org.apache.axis2.context.MessageContext msgContext)

processPOSTRequest

protected void processPOSTRequest(WebServiceContainer.Request request,
                                  WebServiceContainer.Response response,
                                  org.apache.axis2.description.AxisService service,
                                  org.apache.axis2.context.MessageContext msgContext)
                           throws Exception
Throws:
Exception

configureHandlers

protected void configureHandlers()
                          throws Exception
Throws:
Exception

injectHandlers

protected void injectHandlers()

destroyHandlers

protected void destroyHandlers()

injectResources

protected void injectResources(Object instance)
                        throws AnnotationException
Throws:
AnnotationException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.