Hi Vicente,

An XBean-finder Filter can be configured in openwebbeans.properties and can
filter them based on the resource name.
I guess it will be likely the least portable but also the most efficient
solution.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 18 oct. 2019 à 14:55, Vicente Rossello <[email protected]> a
écrit :

> Hi,
>
> I have noticed that Kotlin utility classes (MyClass$Companion,
> MyClass$WhenMappings, etc.) are being scanned by openwebbeans, there is no
> error but it makes startup slower.
>
> What would be the easier way to exclude them? I think the only alternative
> is to write an extension to Veto them? Exclude in beans.xml seems is not
> enough
>
> Thank you,
> Vicente.
>

Reply via email to