AnnotatedClass instances should be cached and reused
----------------------------------------------------
Key: WBRI-107
URL:
https://jira.jboss.org/jira/browse/WBRI-107
Project: Web Beans RI
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