org.jboss.portal.server.servlet
Class PortalServlet

java.lang.Object
  extended by HttpServlet
      extended by org.jboss.portal.server.servlet.PortalServlet

public class PortalServlet
extends HttpServlet

The main servlet of the portal. This servlet must be properly configured with the servlet mapping style it is mapped.

Version:
$Revision: 7379 $
Author:
Julien Viet

Field Summary
protected  Logger log
          The logger.
 
Constructor Summary
PortalServlet()
           
 
Method Summary
protected  boolean getAsDefaultServletInitValue()
          Return the value for the servlet mapping.
protected  RequestControllerFactory getControllerFactory()
           
protected  InterceptorStackFactory getInterceptorStackFactory()
           
protected  Server getServer()
           
 void init()
          Configure the as default servlet.
protected  void service(HttpServletRequest req, HttpServletResponse resp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected Logger log
The logger.

Constructor Detail

PortalServlet

public PortalServlet()
Method Detail

init

public void init()
          throws ServletException
Configure the as default servlet.

Throws:
ServletException

getServer

protected final Server getServer()

getInterceptorStackFactory

protected final InterceptorStackFactory getInterceptorStackFactory()

getControllerFactory

protected final RequestControllerFactory getControllerFactory()

service

protected void service(HttpServletRequest req,
                       HttpServletResponse resp)
                throws ServletException,
                       java.io.IOException
Throws:
ServletException
java.io.IOException

getAsDefaultServletInitValue

protected boolean getAsDefaultServletInitValue()
Return the value for the servlet mapping. This implementation get the value from an init parameter of the servlet called asDefaultServlet