Would be awesome indeed ;)

just observe (openejb @Observes) BeforeAppInfoBuilderEvent in a custom
extension and use modules (WebModule for you I guess) finder.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-10-24 8:52 GMT+02:00 Alex Soto <[email protected]>:
> Hi, today I was thinking a way to implement some @Grab like annotation (
> http://groovy.codehaus.org/Grape) for Java EE. This could be useful for
> example to add Hibernate as JavaEE provider or any other library. Because
> TomEE supports jars.txt approach, I was thinking to use this approach.
> Something like scan all classpath, finds the "@Grab" annotation crfeate the
> jars.txt and TomEE well do the same. My question is that it would be
> awesome if we could use the scanning process of TomEE (to not rescan the
> whole classpath more thanone time).
>
> Do you think it is possible?
>
> --
> +----------------------------------------------------------+
>   Alex Soto Bueno
>   www.lordofthejars.com
> +----------------------------------------------------------+

Reply via email to