[jboss-dev] Improving scanning performance

Scott Marlow smarlow at redhat.com
Mon Jun 15 21:28:23 EDT 2009


Ales Justin wrote:
>> 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.
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development

I tried to limit the scanning for annotations of 
/deploy/juddi-service.sar/juddi.jar but the scans are still occurring.  
Do we need to juddi-service.sar to 
server/target/etc/deployers/metadata-deployer-jboss-beans.xml?  Other 
service archives are listed there but not the UDDI service (only include 
in the AS/server/all profile).





More information about the jboss-development mailing list