[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986014#comment-17986014
 ] 

ASF subversion and git services commented on DELTASPIKE-1480:
-------------------------------------------------------------

Commit 84b3e062122b655bb564589fc1d014894cbb174d in deltaspike's branch 
refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=84b3e0621 ]

DELTASPIKE-1480 replace @Typed() with @Vetoed

We previously used @Typed() to block utility classes from being picked up for 
injection.
The CDI spec now provides an own @Vetoed annotation which prevents classes from 
being
picked up as beans alltogether and is thus preferred.


> replace @Typed() with @Vetoed
> -----------------------------
>
>                 Key: DELTASPIKE-1480
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1480
>             Project: DeltaSpike
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 2.0.1
>
>
> In CDI-1.0 {{@Typed()}} was the only way to avoid that a class is getting 
> picked up for injection. This is now available in the spec via {{@Vetoed}} 
> which has the benefit that it even will not create a CDI Bean.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to