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

Service decorator method not invoked for @Match with "*" in middle

    Details

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

      Description

      The following does NOT get called for service IProjectAlternativeScorer:

      @Match(

      { "I*Scorer", "I*DAO" }

      )
      @Order("after:*Logging")
      public static <T> T decorateWithTransactionManagement(
      Class<T> serviceInterface,
      T delegate,
      String serviceId,
      HibernateTransactionDecorator decorator)

      { return decorator.build(serviceInterface, delegate, serviceId); }

      Changing the first match to "*Scorer" (i.e., putting the star at the beginning) results in a the method getting invoked properly.

        Attachments

          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: