Uploaded image for project: 'XWork'
  1. XWork
  2. XW-301

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • Interceptors
    • 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

      Attachments

        Activity

          People

            rainerh Rainer Hermanns
            zsolt.s Zsolt Szasz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: