Hi Romain, David, I remember that discussion in the EG and that outcome, too. The conclusion was, that 3rd party beans have to define their own interceptor decorator stack and create it in Bean#create
Cheers, Arne Am 20.12.17 06:49 schrieb "Romain Manni-Bucau" unter <[email protected]>: >Hi David > >IIRC 3rd party beans - including @Produces - dont support producers (in >the >spec) since there are fully let to the user. This is why deltaspike has >this partialbean interceptor support. > > > >Le 20 déc. 2017 04:01, "David Blevins" <[email protected]> a écrit : > >Looks as though we don't support Interceptors or Decorators for beans >added >via extension that are not subclasses of AbstractOwbBean. > >ThirdpartyBeanImpl returns an inner class impl of Producer from >getProducer. Since it doesn't extend AbstractProducer it doesn't have the >defineInterceptorStack method and we skip it at the time where we would >resolve those. > >Is there a reason we don't have the inner class in ThirdpartyBeanImpl >extend AbstractProducer? > > >-- >David Blevins >http://twitter.com/dblevins >http://www.tomitribe.com
