Tapestry 5
  1. Tapestry 5
  2. TAP5-465

Add a LazyAdvisor service that can allow method invocations on services to be lazily evaluated

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      A lazy decorator would be very cool, as it would allow method invocations to be deferred until actually needed.

      This would only work on method invocations whose return value was an interface type and throws no checked exceptions.

      The decorator should ignore any methods that do not qualify.

      This will actually be a snap to implement, using the AspectDecorator.

        Issue Links

          Activity

          Hide
          Howard M. Lewis Ship added a comment -

          Want to create the interface for the LazyDecorator so that its compatible with a future approach that involes advising, not decorating, services.

          Show
          Howard M. Lewis Ship added a comment - Want to create the interface for the LazyDecorator so that its compatible with a future approach that involes advising, not decorating, services.

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development