org.apache.geronimo.axis2
Class Axis2WebServiceContainer
java.lang.Object
org.apache.geronimo.axis2.Axis2WebServiceContainer
- All Implemented Interfaces:
- Serializable, org.apache.geronimo.webservices.WebServiceContainer
- Direct Known Subclasses:
- EJBWebServiceContainer, POJOWebServiceContainer
public abstract class Axis2WebServiceContainer
- extends Object
- implements org.apache.geronimo.webservices.WebServiceContainer
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface org.apache.geronimo.webservices.WebServiceContainer |
org.apache.geronimo.webservices.WebServiceContainer.Request, org.apache.geronimo.webservices.WebServiceContainer.Response |
| Fields inherited from interface org.apache.geronimo.webservices.WebServiceContainer |
LOCATION_REPLACEMENT_TOKEN, MESSAGE_CONTEXT, POJO_INSTANCE, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE |
|
Method Summary |
protected void |
configureHandlers()
|
protected AxisServiceGenerator |
createServiceGenerator()
|
void |
destroy()
|
protected void |
destroyHandlers()
|
protected void |
doService(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
|
void |
doService2(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.context.MessageContext msgContext)
|
void |
getWsdl(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
|
void |
init()
|
protected abstract void |
initContextRoot(org.apache.geronimo.webservices.WebServiceContainer.Request request)
|
protected void |
injectHandlers()
|
protected void |
injectResources(Object instance)
|
void |
invoke(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
|
protected void |
processGETRequest(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
processPOSTRequest(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
setMsgContextProperties(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.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 |
REQUEST
public static final String REQUEST
RESPONSE
public static final String RESPONSE
endpointClassName
protected String endpointClassName
portInfo
protected org.apache.geronimo.jaxws.PortInfo portInfo
configurationContext
protected org.apache.axis2.context.ConfigurationContext configurationContext
jndiResolver
protected org.apache.geronimo.jaxws.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 org.apache.geronimo.jaxws.JAXWSAnnotationProcessor annotationProcessor
Axis2WebServiceContainer
public Axis2WebServiceContainer(org.apache.geronimo.jaxws.PortInfo portInfo,
String endpointClassName,
ClassLoader classLoader,
Context context,
URL configurationBaseUrl)
init
public void init()
throws Exception
- Throws:
Exception
createServiceGenerator
protected AxisServiceGenerator createServiceGenerator()
getWsdl
public void getWsdl(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
throws Exception
- Specified by:
getWsdl in interface org.apache.geronimo.webservices.WebServiceContainer
- Throws:
Exception
invoke
public void invoke(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
throws Exception
- Specified by:
invoke in interface org.apache.geronimo.webservices.WebServiceContainer
- Throws:
Exception
doService
protected void doService(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response)
throws Exception
- Throws:
Exception
initContextRoot
protected abstract void initContextRoot(org.apache.geronimo.webservices.WebServiceContainer.Request request)
doService2
public void doService2(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.context.MessageContext msgContext)
throws Exception
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy in interface org.apache.geronimo.webservices.WebServiceContainer
processGETRequest
protected void processGETRequest(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
throws Exception
- Throws:
Exception
setMsgContextProperties
protected void setMsgContextProperties(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
processPOSTRequest
protected void processPOSTRequest(org.apache.geronimo.webservices.WebServiceContainer.Request request,
org.apache.geronimo.webservices.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 org.apache.geronimo.jaxws.annotations.AnnotationException
- Throws:
org.apache.geronimo.jaxws.annotations.AnnotationException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.