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

Mark Struberg commented on OWB-182:
-----------------------------------

oki, command return ;)

After a long discussion on the JSR-299 list it turns out that CDI will not 
support this 'new oldschool' type of @PreDestroy on Interceptors.
Instead each JSR-299 container must act in an EJB specification compatible way:
@PreDestroy, @PostConstruct et al on an Interceptor must have an 
InvoicationContext parameter as our original implementation did force.

The weld team will fix the corresponding TCK test.

> Even if @PreDestroy is used in an Interceptor, it doesn't need an 
> InvoicationContext parameter
> ----------------------------------------------------------------------------------------------
>
>                 Key: OWB-182
>                 URL: https://issues.apache.org/jira/browse/OWB-182
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M3
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M4
>
>
> thus we must disable the check in WebBeansUtils#configureInterceptorMethods

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to