| com.nabhinc.portlet.mvcportlet.core.ActionProcessor
All known Subclasses: com.nabhinc.portlet.portletadmin.AccessControlEntryPopulator, com.nabhinc.portlet.portletadmin.ReportPortletCreator, com.nabhinc.portlet.admin.CreatePsite, com.nabhinc.portlet.portletadmin.InlinePortletCreator, com.nabhinc.portlet.psiteadmin.SiteCreator, com.nabhinc.portlet.admin.PortalOptionsSaver, com.nabhinc.portlet.mvcportlet.actionprocessor.CheckParameter, com.nabhinc.portlet.useradmin.UserInitializer, com.nabhinc.portlet.news.NewsNotifier, com.nabhinc.portlet.portletadmin.TablePortletCreator, com.nabhinc.portlet.mvcportlet.actionprocessor.ResetValues, com.nabhinc.portlet.portletadmin.ChartPortletCreator, com.nabhinc.portlet.wsadmin.InterceptorActionProcessor, com.nabhinc.portlet.mvcportlet.actionprocessor.InsertUpdateOneToManyRelation, com.nabhinc.portlet.news.DeleteChannelFiles, com.nabhinc.portlet.login.ResetPassword, com.nabhinc.portlet.portletadmin.AccessControlEntryDeleter, com.nabhinc.portlet.admin.PsiteVersionsDeleter, com.nabhinc.portlet.wsadmin.WebServiceActionProcessor, com.nabhinc.portlet.admin.PsiteRollbacker, com.nabhinc.portlet.portletadmin.AccessControlEntryAdder, com.nabhinc.portlet.portletadmin.FilePortletCreator, com.nabhinc.portlet.mvcportlet.actionprocessor.PreferenceSetter, com.nabhinc.portlet.psiteadmin.SiteDeleter, com.nabhinc.portlet.guessnumber.UserNumberValidator, com.nabhinc.portlet.portletadmin.URLPortletCreator, com.nabhinc.portlet.survey.UpdateSurveyActionProcessor, com.nabhinc.portlet.portletadmin.XSLPortletCreator, com.nabhinc.portlet.mvcportlet.actionprocessor.FileUploadProcessor, com.nabhinc.portlet.wsadmin.ServiceInterceptorMappingActionProcessor, com.nabhinc.portlet.mvcportlet.actionprocessor.SetDefaultValues, com.nabhinc.portlet.mvcportlet.actionprocessor.InsertUpdateRecord, com.nabhinc.portlet.mvcportlet.actionprocessor.DeleteRecords, com.nabhinc.portlet.roleadmin.RoleUpdater, com.nabhinc.portlet.useradmin.ResetPassword, com.nabhinc.portlet.mvcportlet.actionprocessor.AttributeSetter, com.nabhinc.portlet.survey.EditSurveyActionProcessor, com.nabhinc.portlet.portletadmin.BasePortletCreator, com.nabhinc.portlet.mvcportlet.actionprocessor.BeanPopulator, com.nabhinc.portlet.psiteadmin.PsiteMembersUpdater, com.nabhinc.portlet.survey.CreateSurveyActionProcessor, com.nabhinc.portlet.login.SendUserName, com.nabhinc.portlet.mvcportlet.actionprocessor.DeleteRecord, com.nabhinc.portlet.search.RebuildIndex, com.nabhinc.portlet.roleadmin.RoleCreator, com.nabhinc.portlet.useradmin.UserDeleter, com.nabhinc.portlet.useradmin.UserCreator, com.nabhinc.portlet.search.Search, com.nabhinc.portlet.mvcportlet.actionprocessor.SelectRecord, com.nabhinc.portlet.mvcportlet.actionprocessor.ParameterSetter, com.nabhinc.portlet.admin.PsiteDeleter, com.nabhinc.portlet.login.RegisterUser, com.nabhinc.portlet.useradmin.UserPreferenceUpdater, com.nabhinc.portlet.portletadmin.GenericPortletCreator, com.nabhinc.portlet.mvcportlet.actionprocessor.Switch, com.nabhinc.portlet.portletadmin.RSSPortletCreator, com.nabhinc.portlet.roleadmin.RoleDeleter, com.nabhinc.portlet.portletadmin.PortletLoader, com.nabhinc.portlet.useradmin.UserUpdater, com.nabhinc.portlet.useradmin.UserProfileUpdater, com.nabhinc.portlet.news.CreateChannelFiles, com.nabhinc.portlet.roleadmin.RoleInitializer,
ActionProcessor | public interface ActionProcessor extends RequestProcessor(Code) | | An ActionProcessor is a handler that implements business logic
for a specific action type. In each "processAction" invocation, ControllerPortlet
will select associated ActionProcessor object and will invoke process
on it.
ActionProcessors must be programmed in a thread-safe manner, because the
controller will share the same instance for multiple simultaneous
requests. This means you should design with the following items in mind:
- Instance and static variables MUST NOT be used to store information
related to the state of a particular request. They MAY be used to
share global resources across requests for the same action.
- Access to other resources (JavaBeans, session variables, etc.) MUST
be synchronized if those resources require protection. If needed action
processors can store session data under portlet scope.
When an ActionProcessor instance is first created, the controller
portlet calls init method with an XML element defining initialization
parameters for the ActionProcessor.
When the controller portlet is to destroyed, it calls destroy method
on all registered ActionProcessors. This method can be used to clean up all resources
used by the ActionProcessor.
author: Padmanabh Dabke author: © 2004 Nabh Information Systems, Inc. All Rights Reserved. |
Method Summary | |
String | process(ActionRequest request, ActionResponse response, ActionConfig actionConfig) The main method that defines the business logic for an action type.
Parameters: request - ActionRequest Parameters: response - ActionResponse Parameters: actionConfig - Configuration for the action type that invoked this method. |
process | String process(ActionRequest request, ActionResponse response, ActionConfig actionConfig) throws PortletException, IOException(Code) | | The main method that defines the business logic for an action type.
Parameters: request - ActionRequest Parameters: response - ActionResponse Parameters: actionConfig - Configuration for the action type that invoked this method. A result string that indicates the type of follow up action. throws: PortletException - throws: IOException - |
|
|