In the section 3.6. Java EE components of CDI 1.2 specification, it has the following statement:

It is safe to annotate Java EE components with @Vetoed to prevent them being considered beans.

According to my understanding, the JavaEE component classes with @Vetoed should still support injections and ProcessInjectionTarget events should still be fired.

In the 12.4.2, it states:
If the filter is active, and: .... then we say that the type is excluded from discovery.

Does this mean if a JavaEE component class is excluded from the scan in the beans.xml, its CDI involvement should be ignored (@Inject would be ignored etc)?

Many thanks,
Emily
===========================
Emily Jiang
WebSphere Application Server Liberty Profile development, CDI Development Lead

 
MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN
Phone:  +44 (0)1962 816278  Internal: 246278

Email: emijiang@uk.ibm.com
Lotus Notes: Emily Jiang/UK/IBM@IBMGB

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU