beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil" <>
Subject the thread local know as PageFlowContext
Date Fri, 24 Mar 2006 17:23:00 GMT

  In order to support the simple tags, we've got a PageFlowContext
object that lives on a thread local and provides methods to get the
ServletRequest, ServletResponse, and ServletContext.  This is a great
way to keep the APIs clean because ServletContext doesn't have to be
passed around to every single method in the API.

  Today, however, NetUI leaks the request, response, and servlet
context objects as the thread local isn't removed from the thread at
the end of the servlet and filter in which it's added.  It's also not
used currently by code that ships in Beehive.

  Until we're using it (which could be soon), I'd like to remove it
from the thread local.  Once we put it back, we'll just be sure to
remove the PageFlowContext at the end of the container in which it was

  Thoughts or flames?


View raw message