Matthias Germann
-
2004-04-11
I noticed that the class
org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager
does not push and pop the InMethod-Flag of the
EnterpriseContext when calling container callback methods.
Therefore, calling any method on the EnterpriseContext
within a callback from the
StatefulSessionFilePersistenceManager results in an
IllegalStateException ("Cannot obtain inMethodFlag for
...").
This patch ensures that the
StatefulSessionFilePersistenceManager pushes and pops
the InMethod-Flag correctly when calling the follwing
methods:
ejbPassivate()
ejbActivate()
ejbRemove()
Regards,
Matthias