[ 
https://issues.apache.org/jira/browse/OWB-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897848#comment-16897848
 ] 

Romain Manni-Bucau commented on OWB-1293:
-----------------------------------------

Hi [~gr...@webtide.com],

 
 # "I don't think it is hacky to move to a SCI, as that is precisely where such 
things are meant to be setup! ": yes and no. Strictly speaking it should be 
possible to use cdi in the SCI "CDI+1", so doesn't it just move the issue? (if 
no I can add it in OWB in a new module but I would like to be sure we just 
don't move the error). Also note that my patch was a quick test but a better 
one would be to make the decorator passing at first invocation which does not 
prevent instantiation before (lifecycle would be 1. create all instances, 2. at 
forst usage call decorators).
 # About cdi2 module I have to admit I'm not sure what it does since all the 
code is setup in cdi module. From a quick look it sounds like a wel (and not 
cdi) integration which disable part of jetty defaults to let weld-jetty module 
work. Should probably be dropped now.

> Update Jetty integration prior to Jetty-10 release
> --------------------------------------------------
>
>                 Key: OWB-1293
>                 URL: https://issues.apache.org/jira/browse/OWB-1293
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Interceptor and Decorators
>            Reporter: Greg Wilkins
>            Priority: Major
>
> The current jetty integration relies on exposing private jetty APIs so a 
> jetty Decorator can be registered.   This is fragile and requires different 
> APIs for the upcoming jetty-10 release.
> Instead, Jetty is developing a mechanism where a object with a decorator 
> signature can be set as a context attribute and it will be introspected and 
> dynamically registered as a decorator without any API dependencies.
> This is currently being developed in 
> [https://github.com/eclipse/jetty.project/pull/3838] and an integration with 
> Weld is at [https://github.com/weld/core/pull/1926] 
> Feedback is sought from the OpenWebBeans team on the approach and then we'd 
> like to collaborate to make a similar integration.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to