com.itmill.toolkit.terminal.gwt.server
Class PortletApplicationContext

java.lang.Object
  extended by com.itmill.toolkit.terminal.gwt.server.WebApplicationContext
      extended by com.itmill.toolkit.terminal.gwt.server.PortletApplicationContext
All Implemented Interfaces:
ApplicationContext, EventListener, HttpSessionBindingListener

public class PortletApplicationContext
extends WebApplicationContext

Author:
marc

Nested Class Summary
static interface PortletApplicationContext.PortletListener
           
 
Nested classes/interfaces inherited from interface com.itmill.toolkit.service.ApplicationContext
ApplicationContext.TransactionListener
 
Field Summary
protected  Map portletListeners
           
protected  javax.portlet.PortletSession portletSession
           
protected  Map portletToApplication
           
 
Fields inherited from class com.itmill.toolkit.terminal.gwt.server.WebApplicationContext
applications, browser, listeners, session
 
Method Summary
 void addPortletListener(Application app, PortletApplicationContext.PortletListener listener)
           
static void dispatchRequest(javax.portlet.Portlet portlet, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
static void dispatchRequest(javax.portlet.Portlet portlet, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 boolean equals(Object obj)
           
 void firePortletActionRequest(javax.portlet.Portlet portlet, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 void firePortletRenderRequest(javax.portlet.Portlet portlet, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
static WebApplicationContext getApplicationContext(HttpSession session)
           
static PortletApplicationContext getApplicationContext(javax.portlet.PortletSession session)
           
 Application getPortletApplication(javax.portlet.Portlet portlet)
           
 javax.portlet.PortletSession getPortletSession()
           
 int hashCode()
           
protected  void removeApplication(Application application)
           
 void removePortletListener(Application app, PortletApplicationContext.PortletListener listener)
           
 void setPortletApplication(javax.portlet.Portlet portlet, Application app)
           
 
Methods inherited from class com.itmill.toolkit.terminal.gwt.server.WebApplicationContext
addApplication, addTransactionListener, endTransaction, getApplications, getBaseDirectory, getBrowser, getHttpSession, removeTransactionListener, startTransaction, valueBound, valueUnbound
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portletSession

protected javax.portlet.PortletSession portletSession

portletListeners

protected Map portletListeners

portletToApplication

protected Map portletToApplication
Method Detail

getApplicationContext

public static PortletApplicationContext getApplicationContext(javax.portlet.PortletSession session)

getApplicationContext

public static WebApplicationContext getApplicationContext(HttpSession session)

removeApplication

protected void removeApplication(Application application)
Overrides:
removeApplication in class WebApplicationContext

equals

public boolean equals(Object obj)
Overrides:
equals in class WebApplicationContext

hashCode

public int hashCode()
Overrides:
hashCode in class WebApplicationContext

setPortletApplication

public void setPortletApplication(javax.portlet.Portlet portlet,
                                  Application app)

getPortletApplication

public Application getPortletApplication(javax.portlet.Portlet portlet)

getPortletSession

public javax.portlet.PortletSession getPortletSession()

addPortletListener

public void addPortletListener(Application app,
                               PortletApplicationContext.PortletListener listener)

removePortletListener

public void removePortletListener(Application app,
                                  PortletApplicationContext.PortletListener listener)

dispatchRequest

public static void dispatchRequest(javax.portlet.Portlet portlet,
                                   javax.portlet.RenderRequest request,
                                   javax.portlet.RenderResponse response)

dispatchRequest

public static void dispatchRequest(javax.portlet.Portlet portlet,
                                   javax.portlet.ActionRequest request,
                                   javax.portlet.ActionResponse response)

firePortletRenderRequest

public void firePortletRenderRequest(javax.portlet.Portlet portlet,
                                     javax.portlet.RenderRequest request,
                                     javax.portlet.RenderResponse response)

firePortletActionRequest

public void firePortletActionRequest(javax.portlet.Portlet portlet,
                                     javax.portlet.ActionRequest request,
                                     javax.portlet.ActionResponse response)


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.