[jbosstools-issues] [JBoss JIRA] (JBIDE-11552) Support for Deltaspike in CDI tooling

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu May 3 18:08:17 EDT 2012


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

Viacheslav Kabanovich commented on JBIDE-11552:
-----------------------------------------------

Source: https://github.com/apache/incubator-deltaspike

List of features

1. @Excludes
Without parameters it is like @Veto, but parameters dynamic conditions.
2. @ConfigProperty
Injection points with that annotation are provided with beans created from a property. I think all we can do is to exclude such injection point from validation.
3. @MessageBundle
An interface annotated with this, should be available for injection point with its type. (DeltaSpike generates beans implementing such interfaces.) That is similar to what we did for Solder.
4. Bean with type MessageContext should be available for injection. 
Implementation of DeltaSpike provides producer, we just have to provide a buil-in bean for projects that only have API in classpath. That is similar to what we did for Solder.
5. @ExceptionHandler, ExceptionEvent, @Handles. 
We have to provide validation of correct usage of these annotations.
6. @SecurityBindingType, @Sequres, @SecurityParameterBinding
Methods annotated @Sequres have parameters as injection points (like observer and producer methods), but excluding parameters annotated with @SecurityParameterBinding. I think we may implement it by adding fake annotation @Inject to method, and by excluding from validation parameters annotated @SecurityParameterBinding. Also, we have to validate consistency of these annotations usage.
7. at Sequred
It is a built-in security binding type. If we implement validation that there is an (unique?) authorizing method for a secured method, then we have to keep in mind that DeltaSpike privides built-in SecuredAnnotationAuthorizer for @Sequred (though it may be missing in the project classpath).
                
> Support for Deltaspike in CDI tooling
> -------------------------------------
>
>                 Key: JBIDE-11552
>                 URL: https://issues.jboss.org/browse/JBIDE-11552
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: CDI extensions
>    Affects Versions: 3.3.0.Beta2
>            Reporter: Cody Lerum
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.CR1
>
>
> Apache Deltaspike is the future of Solder and is starting to mature as far as the core impl
> Things like @Excludes should be supported same as solder style @Veto

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list