You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/07/07 20:16:52 UTC

[jira] Created: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

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.


[jira] Closed: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1203.
--------------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> @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.


[jira] Assigned: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1203:
------------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>            Assignee: 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.


[jira] Assigned: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAP5-1203:
------------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>            Assignee: 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.


[jira] Commented: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888425#action_12888425 ] 

Hudson commented on TAP5-1203:
------------------------------

Integrated in tapestry-5.2-freestyle #153 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/153/])
    

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> @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.


[jira] Closed: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1203.
--------------------------------------

    Fix Version/s: 5.2.0
       Resolution: Fixed

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> @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.


[jira] Commented: (TAP5-1203) Use of @Contribute annotation does not work properly with marker annotations

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12888425#action_12888425 ] 

Hudson commented on TAP5-1203:
------------------------------

Integrated in tapestry-5.2-freestyle #153 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/153/])
    

> 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
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.0
>
>
> @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.