org.apache.geronimo.axis2
Class Axis2WebServiceContainer
java.lang.Object
org.apache.geronimo.axis2.Axis2WebServiceContainer
- All Implemented Interfaces:
- java.io.Serializable, WebServiceContainer
- Direct Known Subclasses:
- POJOWebServiceContainer
public abstract class Axis2WebServiceContainer
- extends java.lang.Object
- implements WebServiceContainer
- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
|
Constructor Summary |
Axis2WebServiceContainer(PortInfo portInfo,
java.lang.String endpointClassName,
java.lang.ClassLoader classLoader,
javax.naming.Context context,
java.net.URL configurationBaseUrl)
|
|
Method Summary |
protected void |
configureAddressing()
|
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)
|
protected java.lang.String |
getServicePath(java.lang.String contextRoot)
|
void |
getWsdl(WebServiceContainer.Request request,
WebServiceContainer.Response response)
|
void |
init()
|
protected void |
injectHandlers()
|
protected void |
injectResources(java.lang.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 |
processURLRequest(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
processXMLRequest(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)
|
static java.lang.String |
trimContext(java.lang.String contextPath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST
public static final java.lang.String REQUEST
RESPONSE
public static final java.lang.String RESPONSE
endpointClassName
protected java.lang.String endpointClassName
portInfo
protected PortInfo portInfo
configurationContext
protected org.apache.axis2.context.ConfigurationContext configurationContext
jndiResolver
protected JNDIResolver jndiResolver
endpointClass
protected java.lang.Class endpointClass
service
protected org.apache.axis2.description.AxisService service
configurationBaseUrl
protected java.net.URL configurationBaseUrl
wsdlQueryHandler
protected WSDLQueryHandler wsdlQueryHandler
binding
protected javax.xml.ws.Binding binding
annotationProcessor
protected JAXWSAnnotationProcessor annotationProcessor
context
protected javax.naming.Context context
address
protected java.lang.String address
factoryRegistry
protected GeronimoFactoryRegistry factoryRegistry
Axis2WebServiceContainer
public Axis2WebServiceContainer(PortInfo portInfo,
java.lang.String endpointClassName,
java.lang.ClassLoader classLoader,
javax.naming.Context context,
java.net.URL configurationBaseUrl)
init
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
createServiceGenerator
protected AxisServiceGenerator createServiceGenerator()
getWsdl
public void getWsdl(WebServiceContainer.Request request,
WebServiceContainer.Response response)
throws java.lang.Exception
- Specified by:
getWsdl in interface WebServiceContainer
- Throws:
java.lang.Exception
invoke
public void invoke(WebServiceContainer.Request request,
WebServiceContainer.Response response)
throws java.lang.Exception
- Specified by:
invoke in interface WebServiceContainer
- Throws:
java.lang.Exception
doService
protected void doService(WebServiceContainer.Request request,
WebServiceContainer.Response response)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServicePath
protected java.lang.String getServicePath(java.lang.String contextRoot)
trimContext
public static java.lang.String trimContext(java.lang.String contextPath)
doService2
public void doService2(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
processPOSTRequest
protected void processPOSTRequest(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
setMsgContextProperties
protected void setMsgContextProperties(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
processXMLRequest
protected void processXMLRequest(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
processURLRequest
protected void processURLRequest(WebServiceContainer.Request request,
WebServiceContainer.Response response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
configureAddressing
protected void configureAddressing()
throws java.lang.Exception
- Throws:
java.lang.Exception
configureHandlers
protected void configureHandlers()
throws java.lang.Exception
- Throws:
java.lang.Exception
injectHandlers
protected void injectHandlers()
destroyHandlers
protected void destroyHandlers()
injectResources
protected void injectResources(java.lang.Object instance)
throws AnnotationException
- Throws:
AnnotationException
Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.