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.PortletException
PortletInstance getPortletInstance(javax.servlet.ServletContext servletContext, PortletDefinition pd, boolean noProxy) throws javax.portlet.PortletException
javax.portlet.PortletException
javax.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.PortletException
PortletFilterInstance getPortletFilterInstance(PortletApplication pa, String filterName) throws javax.portlet.PortletException
javax.portlet.PortletException
boolean 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.PortletException
void reloadResourceBundles(PortletDefinition pd) throws javax.portlet.PortletException
pd
- portlet definitionjavax.portlet.PortletException
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.