As many of you know, when creating API annotations for Seam Modules, we have an interesting situation:<br><br><a href="https://jira.jboss.org/jira/browse/WELDX-95" target="_blank">https://jira.jboss.org/jira/browse/WELDX-95</a><br>
<br>Due to the fact that annotations can include meta-annotations, we need to recursively scan the annotation hierarchy in order to obtain the correct annotation instance (or null if it isn&#39;t declared,) then return that annotation in order to access the attributes.<br>
<br>This becomes even more complex when annotations are added via the seam-xml-config module, but I&#39;ll let Dan or Pete explain that one.<br><br>It seems likely that we will need a new API/SPI in CDI in order to appropriately address performance concerns with doing such recursive, synchronized (locking!) lookups.<br>
<br>There are several questions to address:<br><ol><li>Where do we allow nested/meta-annotations?</li><li>How do we address the performance concerns where they are allowed?</li></ol>
<br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>