Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: