@Deprecated public class LoaderServlet extends HttpServlet
TomcatEmbedder.embed(java.util.Properties, java.lang.ClassLoader)
method
This class gets the location of this webapp and assumes that it is the tomee.war file then calls the embedder.
This method of bootstrapping is mutually exclusive to theOpenEJBListener
approachConstructor and Description |
---|
LoaderServlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
init(ServletConfig config)
Deprecated.
Called by the servlet container to indicate to a servlet that the
servlet is being placed into service.
|
protected java.util.Properties |
initParamsToProperties(ServletConfig config)
Deprecated.
Retrieves all intialization parameters for this servlet and stores them in a java.util.Properties object.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init(ServletConfig config) throws ServletException
Servlet.init(javax.servlet.ServletConfig)
.
This implementation stores the ServletConfig
object it receives from the servlet container for later use.
When overriding this form of the method, call
super.init(config)
.
init
in interface Servlet
init
in class GenericServlet
config
- the ServletConfig
object
that contains configuration
information for this servletServletException
- if an exception occurs that
interrupts the servlet's normal
operationUnavailableException
protected java.util.Properties initParamsToProperties(ServletConfig config)
config
- javax.servlet.ServletConfig