tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENEJB-1522) Following operations within singleton EJB should be allowed in POST_CONSTRUCT and PRE_DESTROY callbacks according to EJB 3.1 spec --> section.4.8.6 --> Table 3.
Date Wed, 13 Apr 2011 07:57:05 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shawn Jiang updated OPENEJB-1522:
---------------------------------

    Attachment: 0001-OPENEJB-1522-Following-operations-within-singleton-E.patch

Adjust the allowable operation checking logic for singleton EJB according to spec.

> Following operations within singleton EJB should be allowed in POST_CONSTRUCT and PRE_DESTROY
callbacks according to EJB 3.1 spec --> section.4.8.6 --> Table 3.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1522
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1522
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: ejb31
>    Affects Versions: (trunk/openejb3)
>            Reporter: Shawn Jiang
>         Attachments: 0001-OPENEJB-1522-Following-operations-within-singleton-E.patch
>
>
> Following operations within singleton  EJB should be allowed in    POST_CONSTRUCT and
 PRE_DESTROY  callbacks  according to  EJB 3.1 spec -->  section.4.8.6 --> Table 3.
>             case timerMethod:
>             case setRollbackOnly:
>             case getRollbackOnly:
>             case UserTransactionMethod:
> Seems current  SingletonContext  was copied from StatelessContext  so that they looks
similar.   But for the operations above,   singleton EJB has different definition to that
of stateless EJB according the the spec.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message