[JBoss JIRA] (CDI-527) allow proxying of classes with non-private final methods
by Mark Struberg (JIRA)
Mark Struberg created CDI-527:
---------------------------------
Summary: allow proxying of classes with non-private final methods
Key: CDI-527
URL: https://issues.jboss.org/browse/CDI-527
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Beans
Reporter: Mark Struberg
Currently we explicitly disallow proxying of classes with non-private final methods.
EJB _does_ allow this. And there are a few final methods in the JDK and other libs. E.g. HashMap#initHashSeedAsNeeded. Currently we cannot have a producer method for it.
We might rethink our decision and allow it. Probably with an own annotation like @AllowProxying which disables this check for certain cases (subclass managed-beans or producers).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
9 years, 7 months
Java EE component class injection point validation
by Emily Jiang
In CDI1.2 spec, section 5.5.7
If a Java EE component class supporting injection that is not a bean has an
injection point of
type InjectionPoint and qualifier @Default, the container automatically
detects the problem
and treats it as a definition error.
How can I plugin this validation? Is there a callback spi I can use to
validate the injection point on JavaEE component? This exception needs to
be thrown during the application deployment.
--
Thanks
Emily
=================
Emily Jiang
ejiang(a)apache.org
9 years, 7 months
Need review for Core/ SE / EE split
by Antoine Sabot-Durand
Hi all,
I just finished a complete review of my splitting work integrating all your
remarks.
The core part doesn't have any more references to Java EE, the "bean"
generalization and "Java component" were reverted.
Java SE is an empty part right now (I didn't want to add new content
before going further). It will contain SE boot chapter and a specific
chapter for context and lifecycle.
Java EE part contains all references to EJB, Java EE components, EL,
servlet, JSF and JSP.
There are probably language standardization work an possible mistakes, so a
deep review of each of view is most welcome:
https://github.com/cdi-spec/cdi/pull/241
Thanks for your help.
Antoine
9 years, 7 months
Java SE bootstrap added to CDI-EDR1 branch.
by Antoine Sabot-Durand
Hi all,
After a bit of cleaning, I merged John PR in the new 2.0-EDR1 branch.
This PR close CDI-509 (related to felix bundle plugin version) and CDI-26.
Thanks Again John for this nice (and first) contribution to CDI 2.0-EDR1
Antoine
9 years, 7 months