Hi guys,

ATM we dont proxy methods in Objects (ie normalScope.toString()) will do a
toString on the proxy - see
org.apache.webbeans.proxy.SubclassProxyFactory#delegateNonInterceptedMethods.

This is fine by itself but then how to enforce the eager init of a bean in
a reliable manner?

Side note: you probably all know the @CdiStartup extension relying on
toString() in after validation event callback and the code I used - and
which fails - was pretty close to that.

FYI I tested only on 1.2.7 but code didnt change much in 1.2.x branch I
think.

Any input/idea?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

Reply via email to