[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-149) Provide a Stereotype for writing @SecurityBindingType annotations for the ViewConfig

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Apr 22 14:08:18 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFACES-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597662#comment-12597662 ] 

Brian Leathem commented on SEAMFACES-149:
-----------------------------------------

<mojavelinux> unfortunately, [this] would be a jira for the jdk
<mojavelinux> @Retention runtime has to be added just so that the annotation makes it past the compiler
<mojavelinux> and target is done at a much lower level
<mojavelinux> [but] you don't need @Target
<mojavelinux> the default is everywhere
<mojavelinux> @Target is if you want to fine tune

> Provide a Stereotype for writing @SecurityBindingType annotations for the ViewConfig
> ------------------------------------------------------------------------------------
>
>                 Key: SEAMFACES-149
>                 URL: https://issues.jboss.org/browse/SEAMFACES-149
>             Project: Seam Faces
>          Issue Type: Enhancement
>          Components: Security, View Configuration
>            Reporter: Brian Leathem
>
> Writing @SecuritybindingType annotations for the viewconfig, one writes a lot of annotations of the form:
> {code}
> @SecurityBindingType
> @Retention(RetentionPolicy.RUNTIME)
> @Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
> {code}
> The above annotations can be lumped together with a Stereotype.  Seam Faces should provide such a Stereotype, as a convenience for developers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list