[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-992) The javax.ejb.SessionContext.SessionContext.getEJBLocalObject and javax.ejb.SessionContext.SessionContext.getEJBObject implementations returns always new proxies for EJB3
Roland Räz (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 09:00:11 EDT 2007
The javax.ejb.SessionContext.SessionContext.getEJBLocalObject and javax.ejb.SessionContext.SessionContext.getEJBObject implementations returns always new proxies for EJB3
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: EJBTHREE-992
URL: http://jira.jboss.com/jira/browse/EJBTHREE-992
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC9 - Patch 1
Reporter: Roland Räz
The javax.ejb.SessionContext.SessionContext.getEJBLocalObject and javax.ejb.SessionContext.SessionContext.getEJBObject implementations returns always new proxies. The api states "Obtain a reference to the EJB object that is currently associated with the instance". My interpretation is that this api should always return a proxy to the current instance. At least for stateful session beans a proxy for the actual session bean should be returned else the bean instance has no mean to return a reference to itself (except when the stateful session bean is passed as parameter).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list