|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.jetspeed.engine.JetspeedServlet
Jetspeed Servlet entry point.
Field Summary | |
private static org.apache.commons.logging.Log |
console
|
private static Engine |
engine
The Jetspeed Engine |
private static boolean |
firstDoGet
Should initialization activities be performed during doGet() execution? |
private static boolean |
firstInit
In certain situations the init() method is called more than once, somtimes even concurrently. |
private static String |
INIT_DONE_MSG
|
private static String |
INIT_START_MSG
|
private static Throwable |
initFailure
Whether init succeeded or not. |
private static org.apache.commons.logging.Log |
log
|
private static String |
webappRoot
|
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Fields inherited from interface org.apache.jetspeed.engine.JetspeedEngineConstants |
APPLICATION_ROOT_DEFAULT, APPLICATION_ROOT_KEY, CONFIG_NAMESPACE, CONSOLE_LOGGER, DEFAULT_LOGGER, JETSPEED_CONFIGURATION_DEFAULT, JETSPEED_CONFIGURATION_KEY, JETSPEED_PROPERTIES_DEFAULT, JETSPEED_PROPERTIES_KEY, LOG4J_CONFIG_FILE, LOG4J_CONFIG_FILE_DEFAULT, LOGGING_ROOT, LOGGING_ROOT_DEFAULT, MAIL_SERVER_KEY, PIPELINE_CLASS, PIPELINE_DEFAULT, PIPELINE_DIRECTORY, PREFERENCES_FACTORY, PREFERENCES_FACTORY_DEFAULT, SCHEDULER_LOG_FACILITY, WEB_CONTEXT, WEBAPP_ROOT_KEY |
Constructor Summary | |
JetspeedServlet()
|
Method Summary | |
private void |
debugHeaders(javax.servlet.http.HttpServletRequest req)
|
void |
destroy()
The Servlet destroy method. |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
The primary method invoked when the Jetspeed servlet is executed. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
In this application doGet and doPost are the same thing. |
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initializes the services which need RunData to initialize
themselves (post startup). |
void |
init(javax.servlet.ServletConfig config)
Intialize Servlet. |
protected org.apache.jetspeed.components.ComponentManager |
initializeComponentManager(javax.servlet.ServletConfig servletConfig,
String appRoot,
org.apache.commons.configuration.Configuration configuration)
If you prefer to use a component manager other than Spring, you can override this method to do so. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
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 |
Field Detail |
private static final org.apache.commons.logging.Log log
private static final org.apache.commons.logging.Log console
private static boolean firstInit
private static Throwable initFailure
private static boolean firstDoGet
private static Engine engine
private static String webappRoot
private static final String INIT_START_MSG
private static final String INIT_DONE_MSG
Constructor Detail |
public JetspeedServlet()
Method Detail |
public final void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
javax.servlet.ServletException
public final void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
RunData
to initialize
themselves (post startup).
public final void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
req
- Servlet request.res
- Servlet response.
IOException
- a servlet exception.
javax.servlet.ServletException
- a servlet exception.public final void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
req
- Servlet request.res
- Servlet response.
IOException
- a servlet exception.
javax.servlet.ServletException
- a servlet exception.public final void destroy()
Servlet
destroy method. Invokes
ServiceBroker
tear down method.
destroy
in interface javax.servlet.Servlet
private void debugHeaders(javax.servlet.http.HttpServletRequest req)
protected org.apache.jetspeed.components.ComponentManager initializeComponentManager(javax.servlet.ServletConfig servletConfig, String appRoot, org.apache.commons.configuration.Configuration configuration) throws IOException
servletConfig
- appRoot
- configuration
-
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |