Environment : IBM WAS 8.0, CDI 1.0 Implementation : OpenWebBeans
How can i exclude few packages from getting scanned at server startup?
is there any CDI extension available or customized extension needs to be written for that ?
Environment : IBM WAS 8.0, CDI 1.0 Implementation : OpenWebBeans
How can i exclude few packages from getting scanned at server startup?
is there any CDI extension available or customized extension needs to be written for that ?
Copyright © 2021 Jogjafile Inc.
Excluding packages from scanning is supported in OpenWebBeans-1.2.x and OpenWebBeans-1.5.x. This will not help you much for WAS.
If your problem is performance then afaik there is no solution for WAS. If the problem is that one of those classes crashes your bootstrap then you could write an own CDI Extension which uses ProcessAnnotatedType and call veto() for those classes. This will stop the class from further being processed by CDI.