[weld-issues] [JBoss JIRA] (CDITCK-267) Section 6.6.2 fourth bullet needs a test

Jason Porter (JIRA) jira-events at lists.jboss.org
Mon Feb 20 14:51:36 EST 2012


Jason Porter created CDITCK-267:
-----------------------------------

             Summary: Section 6.6.2 fourth bullet needs a test
                 Key: CDITCK-267
                 URL: https://issues.jboss.org/browse/CDITCK-267
             Project: CDI TCK
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Tests
    Affects Versions: 1.0.4.Final
            Reporter: Jason Porter


CDI 1.0 Specification states (Section 6.6.2):

{quote}
A bean is called a passivation capable dependency if any contextual reference for that bean is preserved when the object
holding the reference is passivated and then activated.
The container must guarantee that:
    • all session beans are passivation capable dependencies,
    • all beans with normal scope are passivation capable dependencies,
    • all passivation capable beans with scope @Dependent are passivation capable dependencies,
    • all resources are passivation capable dependencies, and
    • the built-in beans of type Instance, Event, InjectionPoint and BeanManager are passivation capable dependencies.
A custom implementation of Bean is a passivation capable dependency if it implements
Scope() returns a normal scope type.
{quote}

There is no test for the fourth bullet. Such resources would include the entitymanager and other items from JNDI (mind is drawing a blank atm).

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