Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2365

It should be possible to create decorators without directly writing Javassist code

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.12
    • tapestry-ioc
    • None

    Description

      What's needed is an AspectDecorator service that can build an interceptor using an Aspect object that recieves an Invocation.

      public interface Aspect

      { void intercept(Invocation invocation); }

      Invocation has a number of methods for accessing or replacing parameters, a proceed() method, and methods of querying and overriding the result value and/or the exception thrown.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: