public interface PortletFactory
PortletFactory
void setPortalContext(PortalContext portalContext)
void registerPortletApplication(PortletApplication pa, ClassLoader paClassLoader)
void unregisterPortletApplication(PortletApplication pa)
boolean isPortletApplicationRegistered(PortletApplication pa)
ClassLoader getPortletApplicationClassLoader(PortletApplication pa)
PortletInstance getPortletInstance(javax.servlet.ServletContext servletContext, PortletDefinition pd) throws javax.portlet.PortletException
javax.portlet.PortletExceptionPortletInstance getPortletInstance(javax.servlet.ServletContext servletContext, PortletDefinition pd, boolean noProxy) throws javax.portlet.PortletException
javax.portlet.PortletExceptionjavax.portlet.PreferencesValidator getPreferencesValidator(PortletDefinition pd)
void updatePortletConfig(PortletDefinition pd)
ResourceBundle getResourceBundle(PortletApplication pa, Locale locale)
ResourceBundle getResourceBundle(PortletDefinition pd, Locale locale)
List<javax.portlet.PortletURLGenerationListener> getPortletApplicationListeners(PortletApplication pa) throws javax.portlet.PortletException
javax.portlet.PortletExceptionPortletFilterInstance getPortletFilterInstance(PortletApplication pa, String filterName) throws javax.portlet.PortletException
javax.portlet.PortletExceptionboolean hasRenderHelperMethod(PortletDefinition pd, javax.portlet.PortletMode mode)
The helper methods can be overriden from the javax.portlet.GenericPortlet such as the following methods
or annotated with @RenderMode (javax.portlet.RenderMode).
doView for handling view requestsdoEdit for handling edit requestsdoHelp for handling help requestsmode - RenderMode,
GenericPortlet.doView(RenderRequest, RenderResponse),
GenericPortlet.doEdit(RenderRequest, RenderResponse),
GenericPortlet.doHelp(RenderRequest, RenderResponse)void reloadResourceBundles(PortletApplication pa) throws javax.portlet.PortletException
pa - portlet applicationjavax.portlet.PortletExceptionvoid reloadResourceBundles(PortletDefinition pd) throws javax.portlet.PortletException
pd - portlet definitionjavax.portlet.PortletExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.