org.apache.openejb.server.axis2
Class Axis2WsContainer
java.lang.Object
org.apache.openejb.server.axis2.Axis2WsContainer
- All Implemented Interfaces:
- HttpListener
- Direct Known Subclasses:
- EjbWsContainer, PojoWsContainer
public abstract class Axis2WsContainer
- extends java.lang.Object
- implements HttpListener
Method Summary |
protected void |
configureHandlers()
|
protected AxisServiceGenerator |
createServiceGenerator()
|
void |
destroy()
|
protected void |
destroyHandlers()
|
protected void |
doService(HttpRequest request,
HttpResponse response)
|
void |
doService2(HttpRequest request,
HttpResponse response,
org.apache.axis2.context.MessageContext msgContext)
|
protected java.lang.String |
getServicePath(java.lang.String contextRoot)
|
void |
getWsdl(HttpRequest request,
HttpResponse response)
|
void |
onMessage(HttpRequest request,
HttpResponse response)
|
protected void |
processGETRequest(HttpRequest request,
HttpResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
processPOSTRequest(HttpRequest request,
HttpResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
protected void |
setMsgContextProperties(HttpRequest request,
HttpResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
|
void |
start()
|
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
port
protected PortData port
configurationContext
protected org.apache.axis2.context.ConfigurationContext configurationContext
endpointClass
protected final java.lang.Class<?> endpointClass
service
protected org.apache.axis2.description.AxisService service
wsdlQueryHandler
protected WsdlQueryHandler wsdlQueryHandler
context
protected javax.naming.Context context
Axis2WsContainer
public Axis2WsContainer(PortData port,
java.lang.Class<?> endpointClass,
javax.naming.Context context)
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
createServiceGenerator
protected AxisServiceGenerator createServiceGenerator()
getWsdl
public void getWsdl(HttpRequest request,
HttpResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
onMessage
public void onMessage(HttpRequest request,
HttpResponse response)
throws java.lang.Exception
- Specified by:
onMessage
in interface HttpListener
- Throws:
java.lang.Exception
doService
protected void doService(HttpRequest request,
HttpResponse 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(HttpRequest request,
HttpResponse response,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
processGETRequest
protected void processGETRequest(HttpRequest request,
HttpResponse 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(HttpRequest request,
HttpResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
processPOSTRequest
protected void processPOSTRequest(HttpRequest request,
HttpResponse response,
org.apache.axis2.description.AxisService service,
org.apache.axis2.context.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
configureHandlers
protected void configureHandlers()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroyHandlers
protected void destroyHandlers()
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.