The portlet deployment descriptor needs to specify a portlet Java class. The Core Platform provides two base classes you can either use as your portlet class or extend in your own subclass:
atg.portlet.GenericPortletService
atg.portlet.DispatchPortlet
The GenericPortletService
class provides standard methods for a Nucleus component, including support for self-configuration, name resolution, performance profiling and logging.
A class derived from GenericPortletService
should override the following methods:
startService
handleRender
handleProcessAction
stopService
The DispatchPortlet
class extends GenericPortletService
. You can use DispatchPortlet
as your portlet class if, as in most cases, you want your portlet to dispatch to a JSP or other resource. The DispatchPortlet.path
property defines the resource the portlet dispatches to.