jbossas/jboss-as — pull request #4198 by jaikiran (2013-03-10 11:54:02+00:00)
Title: AS7-6561 EJB 3.2 support - Add support for @Stateful(passivationCapable=false)

The EJB 3.2 spec introduces a way to disable passivation of stateful beans. User applications can use @Stateful(passivationCapable=false) to disable passivation for the bean. There's a ejb-jar.xml deployment descriptor equivalent too.

The commits here introduces support for disabling the passivation using the annotation approach. New tests have been added to make sure this is functional.

There are couple of TODOs in this PR for adding support for the deployment descriptor based approach. A subsequent PR which depends on a jboss-metadata release will add support for that.