Package nl.openedge.baritus.interceptors

Interceptors.

See:
          Description

Interface Summary
AfterPerformInterceptor Registered instances will have their command method executed after the normal action execution took place.
AfterPopulationInterceptor Registered instances will have their command method executed before the normal action execution took place, but after the form bean was populated.
BeforeMakeFormBeanInterceptor Registered instances will have their command method executed before the method makeFormBean is called.
BeforePopulationInterceptor Registered instances will have their command method executed before population and validation is done.
Interceptor Tagging interface for interceptors.
PerformExceptionInterceptor Registered instances will have their command method executed if an unhandeld exception occured while executing the perform method.
PopulationErrorInterceptor Registered instances will have their command method executed if the model failed to populate, or did not pass validation.
 

Exception Summary
DispatchNowFlowException Flow exception; is thrown when an interceptor wants to dispatch to another URL immediately.
FlowException Flow exception; base exception for flow exceptions.
ReturnNowFlowException Flow exception; is thrown when an interceptor wants an override of the default view, and this view should be directed to immediately.
 

Package nl.openedge.baritus.interceptors Description

Interceptors.

Interceptors provide a means to encapsulate cross-cutting code that is executed on pre-defined points in the line of execution.

Interceptors can be used to decorate the normal execution. Also, by throwing FlowExceptions, interceptors can alter the flow of execution. An interceptor can throw a FlowException if it wants Baritus to stop normal processing and go to the given declared view (using ReturnNowFlowException) such as 'error', or dispatch to an arbitrary - non declared - URL (using DispatchNowFlowException) location.



Copyright © 2003-2004 Open Edge. All Rights Reserved.