[cdi-dev] [JBoss JIRA] (CDI-580) Allow interceptors and decorators to be applied to producer methods
Mark Struberg (JIRA)
issues at jboss.org
Tue Feb 2 08:44:00 EST 2016
Mark Struberg created CDI-580:
Summary: Allow interceptors and decorators to be applied to producer methods
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 2.0-EDR1
Reporter: Mark Struberg
Currently the spec explicitly disallows to apply interceptors and decorators to contextual instances created by producer fields and producer methods.
if you add an Interceptor annotation to a producer method then only the invocation of the producermethod gets intercepted. The created Contextual Instance will remain a plain object.
We should explore ways to allow this somehow.
This message was sent by Atlassian JIRA
More information about the cdi-dev