You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2013/01/20 05:20:12 UTC

[jira] [Resolved] (OWB-665) invocation order of @PostConstruct interceptors

     [ https://issues.apache.org/jira/browse/OWB-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-665.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0

resolved by implementing all our interceptor logic completely new
                
> invocation order of @PostConstruct interceptors
> -----------------------------------------------
>
>                 Key: OWB-665
>                 URL: https://issues.apache.org/jira/browse/OWB-665
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Interceptor and Decorators
>    Affects Versions: 1.1.4
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
>
>
> @CustomInterceptorBinding
> @Interceptor
> public class MyInterceptor implements Serializable
> {
>     @PostConstruct
>     public void onPostConstructInvocations(InvocationContext invocationContext)
>     {
>         //...
>         invocationContext.proceed();
>     }
> }
> //...
> leads to:
> MyBean#initBean
> MyInterceptor#onPostConstructInvocations
>     InvocationContext#proceed
> instead of:
> MyInterceptor#onPostConstructInvocations
>     InvocationContext#proceed
>         MyBean#initBean

--
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