Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.5.7
-
Fix Version/s: None
-
Component/s: Context Management
-
Labels:None
Description
One major drawback to using @Before and @After methods in an ActionBean instead of a full-fledged Interceptor is that an Interceptor has access to the ExecutionContext, whereas @Before/@After methods do not. I propose an enhancement to BeforeAfterMethodInterceptor such that if a @Before/@After method is declared to take exactly one parameter of type ExecutionContext, the current execution context will be passed to the method.