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

Reply via email to