[jboss-dev] Improving scanning performance

Ales Justin ales.justin at gmail.com
Mon Jun 15 07:30:40 EDT 2009


> Question about jboss-scanning.xml, if I specify the "include" list but 
> leave the "exclude" list blank or missing.  Will that exclude all 
> classes that aren't on the "include" list?  If yes, that will make it 
> easier to build the jboss-scanning.xml.

There are two ways to exclude resources:
(a) do not recurse into it
(b) explicit pckg exclude

For (a) see ScanningDeploymentUnitFilter::ScanningMetaDataRecurseFilter.
For (b) see ScanningMetaDataResourceFilter.

Looking at (b), the answer to your question is yes.



More information about the jboss-development mailing list