[jboss-jira] [JBoss JIRA] (AS7-5710) Fix Weld component to support CDI interceptors on WSComponents

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Thu Oct 18 00:19:02 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas reassigned AS7-5710:
-----------------------------------

    Assignee: Richard Opalka  (was: Stuart Douglas)


I have been thinking about this and I think the only reasonable way to support this is to have WS use the Component#createInstance() version of the method, rather than Component at createInstance(Object existing) that is used at the moment. 

Weld implements interceptors/decorators by sub classing for POJO's, so weld has to create these instances itself. Attempting to change this just for WS components would require substantial changes to weld, including backwards-incompatible API changes, which is not going to happen just for this feature. 

For interception to work web services is going to have to delegate instance creation to Weld. 

 
                
> Fix Weld component to support CDI interceptors on WSComponents
> --------------------------------------------------------------
>
>                 Key: AS7-5710
>                 URL: https://issues.jboss.org/browse/AS7-5710
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: CDI / Weld
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For: 7.2.0.Alpha1
>
>
> Implement support for CDI interceptors on JAXWS POJO endpoints.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list