[weld-issues] [JBoss JIRA] (CDITCK-15) Corner case tests for injecting into non-contextual EJBs

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Mar 26 11:58:48 EDT 2012


    [ https://issues.jboss.org/browse/CDITCK-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679361#comment-12679361 ] 

Pete Muir commented on CDITCK-15:
---------------------------------

For example, check that:

{code}
@Stateful @RequestScoped
class Bar {

   @Inject Baz baz;

   public Baz getBaz() { return baz; }

}
{code}

{code}
@Stateful @RequestScoped
class Baz {

   @Inject Bar bar;

   public Bar getBar() { return bar; }

}
{code}

And verify that this works, assuming they are normal scoped of course!
                
> Corner case tests for injecting into non-contextual EJBs
> --------------------------------------------------------
>
>                 Key: CDITCK-15
>                 URL: https://issues.jboss.org/browse/CDITCK-15
>             Project: CDI TCK
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>            Reporter: Pete Muir
>            Assignee: Shane Bryzak
>             Fix For: 1.1.0.CR1
>
>
> For example:
> * chains of EJBs with contextual instances
> * reentrant injcetion (allowed by EJB?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list