[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: StructureContext and candidate annotations
adrian@jboss.org
do-not-reply at jboss.com
Wed Aug 6 05:55:43 EDT 2008
"alesj" wrote : "adrian at jboss.org" wrote :
| | You don't want to do basic recognition. If the structure doesn't support
| | annotation scanning then you don't want to add to the ear.
| | e.g. a -service.xml shouldn't be added to the ear if it isn't listed in
| | application/jboss-app.xml
| |
| OK, makes sense:
|
| | if (context.isCandidateAnnotationScanning() && deployer.supportsCandidateAnnotations() == false)
| | return false;
| |
deployer.isSupportsCandidateAnnotations()
It needs to be a property on the structure deployer so you can
turn off this behaviour if you don't want to speed things up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168960#4168960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168960
More information about the jboss-dev-forums
mailing list