public class PortletAppUtils extends Object
| Constructor and Description |
|---|
PortletAppUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
refreshServletApplicationContext(javax.servlet.ServletContext servletContext)
initialize the servlet application that may have been corrupted after portlet reinitialization
(when portlets ant servlet are in the same wars, portlet deployement erases servlet application)
|
static void |
registerApplication(javax.portlet.PortletConfig config,
Object applicationContext)
register the application
|
static void |
removeServletApplicationContext(javax.servlet.ServletContext servletContext)
erase the servlet application context
(when portlets are redeployed without webapp global redeployment, servletContext may be not null
during redeployement.
|
public static void registerApplication(javax.portlet.PortletConfig config,
Object applicationContext)
config - public static void refreshServletApplicationContext(javax.servlet.ServletContext servletContext)
config - public static void removeServletApplicationContext(javax.servlet.ServletContext servletContext)
config - Copyright © 2022. All rights reserved.