org.apache.tomee.loader
Class LoaderServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.tomee.loader.LoaderServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated.

@Deprecated
public class LoaderServlet
extends javax.servlet.http.HttpServlet

The sole purpose of this class is to call the 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 the OpenEJBListener approach

See Also:
Serialized Form

Constructor Summary
LoaderServlet()
          Deprecated.  
 
Method Summary
 void init(javax.servlet.ServletConfig config)
          Deprecated. 
protected  Properties initParamsToProperties(javax.servlet.ServletConfig config)
          Deprecated. Retrieves all intialization parameters for this servlet and stores them in a java.util.Properties object.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, 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

LoaderServlet

public LoaderServlet()
Deprecated. 
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Deprecated. 

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

initParamsToProperties

protected Properties initParamsToProperties(javax.servlet.ServletConfig config)
Deprecated. 
Retrieves all intialization parameters for this servlet and stores them in a java.util.Properties object.

Parameters:
config - javax.servlet.ServletConfig
Returns:
java.util.Properties


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.