|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.servletservice.CallStackHelper
Helper class used for geting hold on the current servlet service
| Field Summary | |
static String |
SUPER_CALL
Key for a value determing wether a call frame contains a super call or not |
| Constructor Summary | |
CallStackHelper()
|
|
| Method Summary | |
static void |
enterServlet(ServletContext context)
This hook must be called each time a servlet service is entered. |
static void |
enterSuperServlet(ServletContext context)
This hook must be called each time a super servlet service is entered. |
static ServletContext |
getBaseServletContext()
Use this method for getting the context that should be used for resolving a polymorphic servlet protocol call |
static ServletContext |
getCurrentServletContext()
Use this method for getting the context that should be used for resolving a servlet protocol call to a super servlet service |
static void |
leaveServlet()
This hook must be called each time a servlet service is left. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String SUPER_CALL
| Constructor Detail |
public CallStackHelper()
| Method Detail |
public static void enterServlet(ServletContext context)
throws ServletException
This method should never raise an exception, except when the parameters are not set!
ServletException - if block is null
public static void enterSuperServlet(ServletContext context)
throws ServletException
This method should never raise an exception, except when the parameters are not set!
ServletException - if the context is nullpublic static void leaveServlet()
It's the counterpart to the enterServlet(ServletContext)
method.
public static ServletContext getBaseServletContext()
public static ServletContext getCurrentServletContext()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||