[cdi-dev] Identify a Bean as synthetic?

Laird Nelson ljnelson at gmail.com
Fri Feb 24 11:57:04 EST 2017


On Thu, Feb 23, 2017 at 11:27 PM Martin Kouba <mkouba at redhat.com> wrote:

> Dne 23.2.2017 v 21:41 Laird Nelson napsal(a):
> > I haven't thought this through yet but I wonder if it would be helpful
> > to mark a Bean as synthetic or not—i.e. discovered by means of the
> > "normal" bean discovery process, or programmatically added by a portable
> > extension.
>
> I'm not sure it's worth specification. As Matej mentioned the
> ProcessSyntheticBean event should do the trick.
>

Yes; I just had completely forgotten about that.


> > I was mentally working through what it might take to write up a sort of
> > CDI reporting mechanism—something that would report on what beans where
> > found, where they came from, what interceptors are enabled and why, etc.
> > etc. etc. and realized one axis of this would be whether a portable
> > extension was involved with certain beans or not.
>
> Something like Weld Probe [1], cdeye [2] or VisualEE [3]?
>

Yes (thanks for the pointers; only knew about two of them), but much
simpler and limited in scope.

Best,
Laird
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20170224/331bc86d/attachment.html 


More information about the cdi-dev mailing list