You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/08/05 02:42:44 UTC

[jira] Closed: (TAPESTRY-2410) Service decorator method not invoked for @Match with "*" in middle

     [ https://issues.apache.org/jira/browse/TAPESTRY-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2410.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.14

> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org