net.rewerse.i5.juice.axis
Class WSServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.axis.transport.http.AxisServletBase
              extended by org.apache.axis.transport.http.AxisServlet
                  extended by net.rewerse.i5.juice.axis.WSServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
Servlet

public abstract class WSServlet
extends org.apache.axis.transport.http.AxisServlet

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.transport.http.AxisServlet
INIT_PROPERTY_DISABLE_SERVICES_LIST, INIT_PROPERTY_ENABLE_LIST, INIT_PROPERTY_JWS_CLASS_DIR, INIT_PROPERTY_SERVICES_PATH, INIT_PROPERTY_TRANSPORT_NAME, INIT_PROPERTY_USE_SECURITY, log
 
Fields inherited from class org.apache.axis.transport.http.AxisServletBase
ATTR_AXIS_ENGINE, axisServer
 
Constructor Summary
WSServlet()
           
 
Method Summary
protected static org.w3c.dom.Element callService(java.lang.String target, org.w3c.dom.Element el, java.lang.String action)
           
 void destroy()
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void dumpXml(org.w3c.dom.Element el, javax.servlet.http.HttpServletResponse response)
           
protected static org.w3c.dom.Element execute(WSService wsd, org.w3c.dom.Element el, java.lang.String cluri)
           
protected static WSDumpster getDumpster()
           
protected static java.lang.Iterable<java.net.URI> getMarkups()
           
 void init()
           
protected abstract  void initOntology(com.hp.hpl.jena.ontology.Ontology owl)
           
protected  void initRegistry()
           
protected abstract  void initServices()
           
protected abstract  void initTranslators()
           
protected  boolean processGet(WSService wsd, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void processPost(WSService wsd, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected static WSEngine registerService(java.lang.String clName, java.lang.String srvPath)
           
protected static void registerTranslator(java.lang.String clName)
           
protected  void setServiceRoot(java.net.URL root)
           
protected static void terminateEngines()
           
protected static void terminateEngines(java.lang.Class<? extends WSEngine> restrict)
           
 
Methods inherited from class org.apache.axis.transport.http.AxisServlet
getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, initQueryStringHandlers, logException, processAxisFault, reportAvailableServices, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo
 
Methods inherited from class org.apache.axis.transport.http.AxisServletBase
decLockCounter, getEngine, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSServlet

public WSServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class org.apache.axis.transport.http.AxisServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class org.apache.axis.transport.http.AxisServletBase

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Overrides:
doGet in class org.apache.axis.transport.http.AxisServlet
Throws:
javax.servlet.ServletException
java.io.IOException

processGet

protected boolean processGet(WSService wsd,
                             javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws javax.servlet.ServletException,
                             java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Overrides:
doPost in class org.apache.axis.transport.http.AxisServlet
Throws:
javax.servlet.ServletException
java.io.IOException

processPost

protected void processPost(WSService wsd,
                           javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

execute

protected static org.w3c.dom.Element execute(WSService wsd,
                                             org.w3c.dom.Element el,
                                             java.lang.String cluri)
                                      throws javax.servlet.ServletException,
                                             java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

dumpXml

protected void dumpXml(org.w3c.dom.Element el,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

initTranslators

protected abstract void initTranslators()
                                 throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

initServices

protected abstract void initServices()
                              throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

initOntology

protected abstract void initOntology(com.hp.hpl.jena.ontology.Ontology owl)
                              throws java.lang.Exception
Throws:
java.lang.Exception

initRegistry

protected final void initRegistry()
                           throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

setServiceRoot

protected final void setServiceRoot(java.net.URL root)
                             throws java.lang.Exception
Throws:
java.lang.Exception

registerTranslator

protected static void registerTranslator(java.lang.String clName)

registerService

protected static WSEngine registerService(java.lang.String clName,
                                          java.lang.String srvPath)

getMarkups

protected static java.lang.Iterable<java.net.URI> getMarkups()

callService

protected static org.w3c.dom.Element callService(java.lang.String target,
                                                 org.w3c.dom.Element el,
                                                 java.lang.String action)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getDumpster

protected static WSDumpster getDumpster()

terminateEngines

protected static void terminateEngines()

terminateEngines

protected static void terminateEngines(java.lang.Class<? extends WSEngine> restrict)