org.blojsom.servlet
Class BlojsomServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.blojsom.servlet.BlojsomServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BlojsomServlet
extends javax.servlet.http.HttpServlet

BlojsomServlet

Since:
blojsom 3.0
Version:
$Id: BlojsomServlet.java,v 1.12 2007/01/17 02:35:18 czarneckid Exp $
Author:
David Czarnecki
See Also:
Serialized Form

Field Summary
protected  org.springframework.context.support.ClassPathXmlApplicationContext _classPathXmlApplicationContext
           
protected  org.apache.commons.logging.Log _logger
           
protected  java.lang.String[] BLOJSOM_CONFIGURATION_FILES
           
 
Constructor Summary
BlojsomServlet()
           
 
Method Summary
 void destroy()
          Take blojsom out of service
 void init(javax.servlet.ServletConfig servletConfig)
          Initialize blojsom
protected  void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
          Handle requests made to blojsom
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

_logger

protected org.apache.commons.logging.Log _logger

BLOJSOM_CONFIGURATION_FILES

protected java.lang.String[] BLOJSOM_CONFIGURATION_FILES

_classPathXmlApplicationContext

protected org.springframework.context.support.ClassPathXmlApplicationContext _classPathXmlApplicationContext
Constructor Detail

BlojsomServlet

public BlojsomServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Initialize blojsom

Parameters:
servletConfig - ServletConfig
Throws:
javax.servlet.ServletException - If there is an error initializing blojsom

service

protected void service(javax.servlet.http.HttpServletRequest httpServletRequest,
                       javax.servlet.http.HttpServletResponse httpServletResponse)
                throws javax.servlet.ServletException,
                       java.io.IOException
Handle requests made to blojsom

Parameters:
httpServletRequest - HttpServletRequest request
httpServletResponse - HttpServletResponse response
Throws:
javax.servlet.ServletException - If there is an error serving the request
java.io.IOException - If there is an error serving the request

destroy

public void destroy()
Take blojsom out of service