Author: kylem
Date: Mon Feb 7 08:57:50 2005
New Revision: 151728
URL: http://svn.apache.org/viewcvs?view=rev&rev=151728
Log:
Make accessors for servlet context, request, and response instances associated
with a
ServletBeanContext public. This enables access from within other contextual
service
implementations or interceptors.
Modified:
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/servlet/ServletBeanContext.java
Modified:
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/servlet/ServletBeanContext.java
URL:
http://svn.apache.org/viewcvs/incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/servlet/ServletBeanContext.java?view=diff&r1=151727&r2=151728
==============================================================================
---
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/servlet/ServletBeanContext.java
(original)
+++
incubator/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/servlet/ServletBeanContext.java
Mon Feb 7 08:57:50 2005
@@ -130,7 +130,7 @@
* Returns the ServletContext associated with this context (or null if not
currently
* processing a request)
*/
- protected ServletContext getServletContext()
+ public ServletContext getServletContext()
{
RequestContext reqContext = peekRequestContext();
if (reqContext == null)
@@ -143,7 +143,7 @@
* Returns the ServletRequest associated with this context (or null if not
currently
* processing a request)
*/
- protected ServletRequest getServletRequest()
+ public ServletRequest getServletRequest()
{
RequestContext reqContext = peekRequestContext();
if (reqContext == null)
@@ -156,7 +156,7 @@
* Returns the ServletResponse associated with this context (or null if
not currently
* processing a request)
*/
- protected ServletResponse getServletResponse()
+ public ServletResponse getServletResponse()
{
RequestContext reqContext = peekRequestContext();
if (reqContext == null)