[ 
https://issues.apache.org/jira/browse/TAPESTRY-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619757#action_12619757
 ] 

Howard M. Lewis Ship commented on TAPESTRY-2410:
------------------------------------------------

In addition, the values used with @Match can now be regular expressions.

> Service decorator method not invoked for @Match with "*" in middle
> ------------------------------------------------------------------
>
>                 Key: TAPESTRY-2410
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2410
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.14
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to