Use of @Contribute annotation does not work properly with marker annotations
----------------------------------------------------------------------------

                 Key: TAP5-1203
                 URL: https://issues.apache.org/jira/browse/TAP5-1203
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-ioc
    Affects Versions: 5.2.0
            Reporter: Howard M. Lewis Ship


@Contribute is a great idea, but there are two problems (as discussed on the 
mailing list)

1) Marker annotations on the contribute method should be simple annotation, not 
wrapped inside @Marker, i.e.:

@Contribute(NameListHolder.class)
@BlueMarker
public void contributeBlueNames(...)


2) The comparison of marker annotations on the contribution method to the 
marker annotations for the service is slightly off. It was done with equals(), 
but it should be that the service contains all maker annotations from the 
contribution method.

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

Reply via email to