org.apache.geronimo.axis2
Class Axis2WebServiceContainer
java.lang.Object
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
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 |
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
Axis2WebServiceContainer
public Axis2WebServiceContainer(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(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.