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

Greg Wilkins edited comment on OWB-1293 at 7/27/19 1:47 AM:
------------------------------------------------------------

Hmmm maybe it is not a leak, as we discard the decorator when we stop the 
context.   OK I'll give it a go still.  However, can you please advise on the 
exact code that I need to do?

Do I need a map of instance to creational context and call release() for 
destroy?    I see that Weld is keeping only a map of class to injector?

Do I also need to call destroy?  Before of after releasing the context?

 


was (Author: gr...@webtide.com):
Hmmm maybe it is not a leak, as we discard the decorator when we stop the 
context.   OK I'll give it a go still.  However, can you please advise on the 
exact code that I need to do?

Do I need a map of instance to creational context and call release() for 
destroy?    I see that Weld is keeping only a map of class to injector?

> 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