new CDI TCK lead
by Tomas Remes
Hi all,
Starting from 1st of August Matej Novotny will take over the CDI TCK lead role from me. I am moving to another project and I believe Matej is well known to CDI/CDITCK/Weld contributors and will be good and responsible lead. I wish him good luck and have some fun!
Thanks
--
Tomas Remes
7 years, 2 months
ProcessAnnotatedType & Bean Discovery mode
by John Ament
Hi,
An issue popped up in OWB wanted to get the EG's perspective on this.
I have a given bean archive, with a class in it (no bean defining annotations). My interpretation of [1] and [2] is that this class is fired as a ProcessAnnotatedType, regardless of what is in beans.xml. In OWB, if I do bean-discovery-mode=annotated it does not get fired, but if it is all, even with a <trim/> a PAT gets fired. However it seems that it should get fired before anything is even considered about the class, and whether it has annotations.
[1]: https://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#process_annotated_type
[2]: https://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#process_annotated_type
John
________________________________
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
7 years, 2 months
[JBoss JIRA] (CDI-709) Should injecting the HttpServletRequest consider all used wrappers?
by Marcel Witte (JIRA)
Marcel Witte created CDI-709:
--------------------------------
Summary: Should injecting the HttpServletRequest consider all used wrappers?
Key: CDI-709
URL: https://issues.jboss.org/browse/CDI-709
Project: CDI Specification Issues
Issue Type: Clarification
Components: Java EE integration
Affects Versions: 2.0 .Final
Reporter: Marcel Witte
For example see this bug report of rewrite: https://github.com/ocpsoft/rewrite/issues/235
If you inject the HttpServletRequest:
{code:java}
@Inject
private HttpServletRequest request
{code}
then you do not get the latest created HttpServletRequestWrapper.
If the wrapper is modifying the request (like adding parameters), these changes would not be visible to the application code using this injected request.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 2 months
Injection with heritage and CDI
by Otávio Gonçalves de Santana
Hey, I have a question about heritage and CDI.
Given two interfaces:
- Car interface
- SportCar that extends Car
interface Car{}
interface SportCar extends Car{}
class DefaultCar implements Car {}
@FerrariQualifierclass DefaultSportCar implements SportCar {}
What I would like to inject:
@Injectprivate Car car; //inject DefaultCar
@Inject
@FerrariQualifierprivate Car ferrari; //inject DefaultSportCar
@Injectprivate SportCar sportCar;//inject DefaultSportCar
How can I do that?
--
Otávio Gonçalves de Santana
twitter: http://twitter.com/otaviojava
site: *http://about.me/otaviojava <http://about.me/otaviojava>*
7 years, 2 months
Injection with heritage and CDI
by Otávio Gonçalves de Santana
Hey, I have a question about heritage and CDI.
Given two interfaces:
- Car interface
- SportCar that extends Car
interface Car{}
interface SportCar extends Car{}
class DefaultCar implements Car {}
@FerrariQualifierclass DefaultSportCar implements SportCar {}
What I would like to inject:
@Injectprivate Car car; //inject DefaultCar
@Inject
@FerrariQualifierprivate Car ferrari; //inject DefaultSportCar
@Injectprivate SportCar sportCar;//inject DefaultSportCar
How can I do that?
--
Otávio Gonçalves de Santana
twitter: http://twitter.com/otaviojava
site: *http://about.me/otaviojava <http://about.me/otaviojava>*
7 years, 3 months