public class AxisServletBase extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTR_AXIS_ENGINE
name of the axis engine to use in the servlet context
|
protected AxisServer |
axisServer
per-instance cache of the axis server
|
| Constructor and Description |
|---|
AxisServletBase() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
decLockCounter()
thread safe lock counter decrement
|
void |
destroy()
Destroy method is called when the servlet is going away.
|
AxisServer |
getEngine()
get the engine for this servlet from cache or context
|
static AxisServer |
getEngine(HttpServlet servlet)
This is a uniform method of initializing AxisServer in a servlet
context.
|
protected static Map |
getEngineEnvironment(HttpServlet servlet)
extract information from the servlet configuration files
|
protected String |
getHomeDir()
what is the root dir of the applet?
|
static int |
getLoadCounter()
get a count of the # of services running.
|
protected String |
getOption(ServletContext context,
String param,
String dephault)
Retrieve option, in order of precedence:
(Managed) System property (see discovery.ManagedProperty),
servlet init param, context init param.
|
ServletContext |
getServletContext()
what is the servlet context
|
protected String |
getWebappBase(HttpServletRequest request)
extract the base of our webapp from an inbound request
|
protected String |
getWebInfPath()
accessor to webinf
|
protected static void |
incLockCounter()
thread safe lock counter increment
|
void |
init()
our initialize routine; subclasses should call this if they override it
|
boolean |
isDevelopment()
probe for the system being 'production'
|
protected void |
service(HttpServletRequest req,
HttpServletResponse resp)
subclass of service method that tracks entry count; calls the
parent's implementation to have the http method cracked and delegated
to the doGet, doPost method.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletInfo, getServletName, init, log, logprotected AxisServer axisServer
protected static final String ATTR_AXIS_ENGINE
public void init()
throws ServletException
init in class GenericServletServletExceptionpublic void destroy()
destroy in interface Servletdestroy in class GenericServletpublic AxisServer getEngine() throws AxisFault
AxisFaultpublic static AxisServer getEngine(HttpServlet servlet) throws AxisFault
AxisFaultprotected static Map getEngineEnvironment(HttpServlet servlet)
servlet - public static int getLoadCounter()
protected static void incLockCounter()
protected static void decLockCounter()
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service in class HttpServletreq - requestresp - responseServletException - something went wrongIOException - something different went wrongprotected String getWebappBase(HttpServletRequest request)
request - request containing http://foobar/axis/services/somethingpublic ServletContext getServletContext()
getServletContext in interface ServletConfiggetServletContext in class GenericServletprotected String getWebInfPath()
protected String getHomeDir()
protected String getOption(ServletContext context, String param, String dephault)
public boolean isDevelopment()
Copyright © The Apache Software Foundation. All Rights Reserved.