|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletFactory
PortletFactory
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getPortletApplicationClassLoader(PortletApplication pa)
|
java.util.List<javax.portlet.PortletURLGenerationListener> |
getPortletApplicationListeners(PortletApplication pa)
|
PortletFilterInstance |
getPortletFilterInstance(PortletApplication pa,
java.lang.String filterName)
|
PortletInstance |
getPortletInstance(javax.servlet.ServletContext servletContext,
PortletDefinition pd)
|
PortletInstance |
getPortletInstance(javax.servlet.ServletContext servletContext,
PortletDefinition pd,
boolean noProxy)
|
javax.portlet.PreferencesValidator |
getPreferencesValidator(PortletDefinition pd)
|
java.util.ResourceBundle |
getResourceBundle(PortletApplication pa,
java.util.Locale locale)
|
java.util.ResourceBundle |
getResourceBundle(PortletDefinition pd,
java.util.Locale locale)
|
boolean |
hasRenderHelperMethod(PortletDefinition pd,
javax.portlet.PortletMode mode)
Returns true when the portlet class is type of javax.portlet.GenericPortlet and it contains a helper method for the portlet mode with public access. |
boolean |
isPortletApplicationRegistered(PortletApplication pa)
|
void |
registerPortletApplication(PortletApplication pa,
java.lang.ClassLoader paClassLoader)
|
void |
reloadResourceBundles(PortletApplication pa)
Tries to reload resource bundles of portlet application. |
void |
reloadResourceBundles(PortletDefinition pd)
Tries to reload resource bundles of portlet definition. |
void |
setPortalContext(PortalContext portalContext)
|
void |
unregisterPortletApplication(PortletApplication pa)
|
void |
updatePortletConfig(PortletDefinition pd)
|
| Method Detail |
|---|
void setPortalContext(PortalContext portalContext)
void registerPortletApplication(PortletApplication pa,
java.lang.ClassLoader paClassLoader)
void unregisterPortletApplication(PortletApplication pa)
boolean isPortletApplicationRegistered(PortletApplication pa)
java.lang.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.PortletExceptionjavax.portlet.PreferencesValidator getPreferencesValidator(PortletDefinition pd)
void updatePortletConfig(PortletDefinition pd)
java.util.ResourceBundle getResourceBundle(PortletApplication pa,
java.util.Locale locale)
java.util.ResourceBundle getResourceBundle(PortletDefinition pd,
java.util.Locale locale)
java.util.List<javax.portlet.PortletURLGenerationListener> getPortletApplicationListeners(PortletApplication pa)
throws javax.portlet.PortletException
javax.portlet.PortletException
PortletFilterInstance getPortletFilterInstance(PortletApplication pa,
java.lang.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 requests
mode -
RenderMode,
GenericPortlet.doView(RenderRequest, RenderResponse),
GenericPortlet.doEdit(RenderRequest, RenderResponse),
GenericPortlet.doHelp(RenderRequest, RenderResponse)
void reloadResourceBundles(PortletApplication pa)
throws javax.portlet.PortletException
pa - portlet application
javax.portlet.PortletException
void reloadResourceBundles(PortletDefinition pd)
throws javax.portlet.PortletException
pd - portlet definition
javax.portlet.PortletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||