You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kalle Korhonen (JIRA)" <ji...@apache.org> on 2012/10/28 17:29:11 UTC

[jira] [Created] (TAP5-2022) Add PropertyAccess.getAnnotation

Kalle Korhonen created TAP5-2022:
------------------------------------

             Summary: Add PropertyAccess.getAnnotation
                 Key: TAP5-2022
                 URL: https://issues.apache.org/jira/browse/TAP5-2022
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.3.6
            Reporter: Kalle Korhonen
            Priority: Minor


On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> I can't think of why that's not already present.
>
> On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> <ka...@gmail.com> wrote:
>> We don't seem to have anything for fetching annotations... wouldn't it
>> be nice if you could do PropertyAccess.get(Object instance, String
>> propertyName, Class<? extends Annotation> annotationClass) without
>> having to care whether the annotation is on the getter or on the
>> field? Anybody object to adding it?
>>
>> Kalle


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Hudson commented on TAP5-2022:
------------------------------

Integrated in tapestry-trunk-freestyle #976 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/976/])
    FIXED - TAP5-2022: Add PropertyAccess.getAnnotation (Revision b108e06f4b633d77461dda220a07016ee806c0c7)

     Result = FAILURE
kaosko : 
Files : 
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/ClassPropertyAdapter.java
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/PropertyAccessImpl.java
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/ClassPropertyAdapterImpl.java
* tapestry-ioc/src/test/groovy/ioc/specs/PropertyAccessImplSpec.groovy
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/PropertyAccess.java

                
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Hudson commented on TAP5-2022:
------------------------------

Integrated in tapestry-trunk-freestyle #976 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/976/])
    FIXED - TAP5-2022: Add PropertyAccess.getAnnotation (Revision b108e06f4b633d77461dda220a07016ee806c0c7)

     Result = FAILURE
kaosko : 
Files : 
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/ClassPropertyAdapter.java
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/PropertyAccessImpl.java
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/services/ClassPropertyAdapterImpl.java
* tapestry-ioc/src/test/groovy/ioc/specs/PropertyAccessImplSpec.groovy
* tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/services/PropertyAccess.java

                
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Kalle Korhonen resolved TAP5-2022.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4

Convenience only, no burning reason to merge to 5.3.x
                
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Kalle Korhonen reassigned TAP5-2022:
------------------------------------

    Assignee: Kalle Korhonen
    
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Kalle Korhonen reassigned TAP5-2022:
------------------------------------

    Assignee: Kalle Korhonen
    
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TAP5-2022) Add PropertyAccess.getAnnotation

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

Kalle Korhonen resolved TAP5-2022.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4

Convenience only, no burning reason to merge to 5.3.x
                
> Add PropertyAccess.getAnnotation
> --------------------------------
>
>                 Key: TAP5-2022
>                 URL: https://issues.apache.org/jira/browse/TAP5-2022
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.6
>            Reporter: Kalle Korhonen
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 5.4
>
>
> On Sun, Oct 28, 2012 at 5:41 AM, Howard Lewis Ship <hl...@gmail.com> wrote:
> > I can't think of why that's not already present.
> >
> > On Sat, Oct 27, 2012 at 7:56 PM, Kalle Korhonen
> > <ka...@gmail.com> wrote:
> >> We don't seem to have anything for fetching annotations... wouldn't it
> >> be nice if you could do PropertyAccess.get(Object instance, String
> >> propertyName, Class<? extends Annotation> annotationClass) without
> >> having to care whether the annotation is on the getter or on the
> >> field? Anybody object to adding it?
> >>
> >> Kalle

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira