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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.11
    • 5.0.14
    • tapestry-core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: