org.jboss.portal.bridge
Class JBossServletContextProvider
java.lang.Object
org.jboss.portal.bridge.JBossServletContextProvider
public class JBossServletContextProvider
- extends java.lang.Object
The JBoss implementation of org.apache.portals.bridges.common.ServletContextProvider
use thread local
variables to keep the request associated with the current thread of execution.
- Version:
- $Revision: 7226 $
- Author:
- Swarn Dhaliwal, Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossServletContextProvider
public JBossServletContextProvider()
get
public static JBossServletContextProvider.BridgeInfo get()
getServletContext
public ServletContext getServletContext(GenericPortlet genericPortlet)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
- if no bridge info is found
getHttpServletRequest
public HttpServletRequest getHttpServletRequest(GenericPortlet genericPortlet,
PortletRequest portletRequest)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
- if no bridge info is found
getHttpServletResponse
public HttpServletResponse getHttpServletResponse(GenericPortlet genericPortlet,
PortletResponse portletResponse)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
- if no bridge info is found