tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: First try with Soteria [jsr 375]
Date Fri, 06 May 2016 20:50:24 GMT
Le 6 mai 2016 22:33, "Arjan Tijms" <arjan.tijms@gmail.com> a écrit :
>
> Romain Manni-Bucau wrote
> > Sounds like soteria adds annotated typeds without an id - it uses null.
>
> Indeed, the older 1 parameter version of
> BeforeBeanDiscovery#addAnnotatedType in Weld directs to the two parameter
> version with a null for the ID. I temporarily took that over while
thinking
> about what that ID should best be. Remember, I'm only a simple dev who can
> spend an hour each day at most on Soteria ;)
>
>
> > Maybe Arjan can fix it using "soteria" + type.getName()
>
> I'll use something like that then. For adding Beans such type of ID is
> already used, but I wasn't quite sure how annotated types use the ID or
what
> requirements for the ID there were. Soteria hasn't been tested on TomEE
(or
> OWB) so maybe I'll find some more issues.
>

No requirements AFAIK but intended to be unique by bean - why i proposed a
prefix. If you need help just ping ;)

> Thanks for your help!
>
>
>
> --
> View this message in context:
http://tomee-openejb.979440.n4.nabble.com/First-try-with-Soteria-jsr-375-tp4678375p4678380.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message