[weld-issues] [JBoss JIRA] Commented: (WELD-436) Lifecycle callback interceptors not invoked for normal scoped managed beans

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 19 07:44:10 EST 2010


    [ https://jira.jboss.org/jira/browse/WELD-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515382#action_12515382 ] 

Pete Muir commented on WELD-436:
--------------------------------

It's reasonable to assume that an impl may create the instance lazily if a client proxy is used (this is certainly not prohibited by the spec), so we always call a method on a normal scoped bean to ensure it is actually instantiated.

> Lifecycle callback interceptors not invoked for normal scoped managed beans
> ---------------------------------------------------------------------------
>
>                 Key: WELD-436
>                 URL: https://jira.jboss.org/jira/browse/WELD-436
>             Project: Weld
>          Issue Type: Bug
>          Components: Interceptors and Decorators
>    Affects Versions: 1.0.1.CR2
>            Reporter: Jozef Hartinger
>            Assignee: Marius Bogoevici
>             Fix For: 1.0.1.GA
>
>
> I modified 
> org.jboss.jsr299.tck.interceptors.tests.lifecycleCallback.LifecycleCallbackInterceptorTest.testPostConstructInterceptor()
> org.jboss.jsr299.tck.interceptors.tests.lifecycleCallback.LifecycleCallbackInterceptorTest.testPreDestroyInterceptor()
> in the TCK trunk to show the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list