|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAxisServlet
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet
public class Axis2ServiceServlet
This overrides the Servlet init of the AxisServlet so Tuscany can use a single Axis2 ConfigurationContext instance shared between AxisServlet instances for each SCA service with a ws binding. TODO: need to review if thats really what we want to be doing
Field Summary | |
---|---|
protected TuscanyListingAgent |
agent
|
Constructor Summary | |
---|---|
Axis2ServiceServlet()
|
Method Summary | |
---|---|
void |
destroy()
|
protected void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Override the AxisServlet doGet to use the TuscanyListingAgent for ?wsdl |
EndpointReference[] |
getEPRsForService(java.lang.String serviceName,
java.lang.String ip)
/** Override the AxisServlet method so as to not add "/services" into the URL and to work with Tuscany service names. |
ServletConfig |
getServletConfig()
|
java.lang.String |
getServletName()
|
void |
init()
Override Axis2 Servlet method to avoid loop when init is called after servletConfig already initialized by this classes init(ConfigurationContext) method. |
void |
init(ConfigurationContext configContext)
|
void |
init(ServletConfig config)
|
protected ConfigurationContext |
initConfigContext(ServletConfig config)
We've setup the Servlet by passing in a ConfigurationContext on our init method override this method to just return that |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TuscanyListingAgent agent
Constructor Detail |
---|
public Axis2ServiceServlet()
Method Detail |
---|
public void init(ConfigurationContext configContext)
public void init() throws ServletException
ServletException
public void init(ServletConfig config) throws ServletException
ServletException
protected ConfigurationContext initConfigContext(ServletConfig config) throws ServletException
ServletException
public ServletConfig getServletConfig()
public java.lang.String getServletName()
public void destroy()
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
public EndpointReference[] getEPRsForService(java.lang.String serviceName, java.lang.String ip) throws AxisFault
AxisFault
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |