You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (Created) (JIRA)" <ji...@apache.org> on 2012/04/17 22:17:17 UTC

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

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


@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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira