For the fun, I modified my interceptor to be used for both @PostConstruct and @AroundInvoke and declared the binding annotation on the type.
-
When the @PostConstruct method is invoked by the container, it is well intercepted
-
Regular (non-lifecycle) methods are also intercepted
-
If another bean calls the @PostConstruct method programmatically, it is not intercepted (at this point, it could be considered as a regular method)
|