Details
-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
None
Description
On 12 Feb 2012, at 04:01, Stuart Douglas wrote:
I have actually toyed with the idea of including this as an AS7 extension.
I was thinking something like this in the beans.xml file:
<as7:only-scan-annotated enabled="true">
<as7:annotation>org.jboss.seam.ExtensionManaged</as7:annotation>
<as7:annotation>com.acme.SomeOtherAnnotation</as7:annotation>
</as7:only:scan-annotation>
This setting would only be applied to the bean archive that has it in its beans.xml (so 3rd party libraries would function properly), and the set of annotations to scan would be merged and applied to all bean archives that use this setting (so if deltaspike defines ExtensionManaged the use would also not have to add that the list of annotations to scan, it would be picked up from the beans.xml file).
This is actually relatively easy to implement, and I could probably get it into AS 7.1.1 .