[
https://jira.jboss.org/jira/browse/WELD-437?page=com.atlassian.jira.plugi...
]
Marius Bogoevici commented on WELD-437:
---------------------------------------
Ales,
Since this is really a Weld implementation concern we should probably decide one way or
the other. The subclassing solution is superior to proxification, since it avoids dealing
with a number of issues such as: intercepted classes without a no-arg constructor and
field access on proxified instances. Also, it helps reducing the number of objects that
are being created by the framework, and so on.
Most likely, Weld is still going to use proxification in a few places (e.g. normal
scopes), but this will help avoiding to use a proxy for non-normal scoped beans (as that
is not covered by the specification).
Marius
Use subclasses for interceptors and decorators
----------------------------------------------
Key: WELD-437
URL:
https://jira.jboss.org/jira/browse/WELD-437
Project: Weld
Issue Type: Bug
Components: Interceptors and Decorators
Reporter: Pete Muir
Assignee: Marius Bogoevici
Priority: Critical
Fix For: 1.0.2.CR1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira