I opened https://issues.apache.org/jira/browse/OPENEJB-1522 and attched a
patch to adjust the operation checking logic for singleton EJB.

On Wed, Apr 13, 2011 at 3:52 PM, Shawn Jiang <[email protected]> wrote:

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



-- 
Shawn

Reply via email to