XWork
  1. XWork
  2. XW-301

Allow action classes to specify methods that should be executed in various stages of the invocation

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: Interceptors
    • Labels:
      None

      Description

      An interceptor that discovers annotated methods on the action class and invokes them according to this workflow:

      • methods annotated with @Before are executed before the actual action and they have the chance to shortcircuit action execution by returning a non null result code
      • methods annotated with @BeforeResult are executed after the action but before the result execution
      • methods annotated with @After are executed after the actual action and result

        Activity

          People

          • Assignee:
            Rainer Hermanns
            Reporter:
            Zsolt Szasz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development