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

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 exclussive to the OpenEJBListener approach

See Also:
Serialized Form

Constructor Summary
LoaderServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
          
 
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()
Method Detail

init

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

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


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.