[
https://jira.jboss.org/jira/browse/WBRI-107?page=com.atlassian.jira.plugi...
]
Pete Muir closed WBRI-107.
--------------------------
Resolution: Won't Fix
Not going to do this, all uses of this class are now at deploy time or lazily initialized,
and then cached inside whatever uses them.
Where they aren't created by the BeanDeployer, we need to check their usage.
AnnotatedClass instances should be cached and reused
----------------------------------------------------
Key: WBRI-107
URL:
https://jira.jboss.org/jira/browse/WBRI-107
Project: Web Beans
Issue Type: Bug
Affects Versions: 1.0.0.ALPHA1
Reporter: David Allen
The current implementation often creates instances of AnnotatedClass multiple times for
the same class, including everytime a bean is to be injected somewhere. Since the API
types are reflected, this also includes reflecting on Object many times. If a cache is
kept for each class already fully reflected/analyzed, it would save memory and time.
Other code can also benefit from being able to lookup information about classes already
reflected by the bean hierarchy.
--
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