User: mnf999
Date: 01/12/18 21:20:04
Modified: src/main/org/jboss/ejb EntityEnterpriseContext.java
Log:
casting for the new CotnainerInvoker Object return
Revision Changes Path
1.25 +4 -7 jboss/src/main/org/jboss/ejb/EntityEnterpriseContext.java
Index: EntityEnterpriseContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityEnterpriseContext.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- EntityEnterpriseContext.java 2001/11/24 20:43:22 1.24
+++ EntityEnterpriseContext.java 2001/12/19 05:20:03 1.25
@@ -26,7 +26,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel OConnor</a>
- * @version $Revision: 1.24 $
+ * @version $Revision: 1.25 $
*
* <p><b>Revisions</b>
* <p>20010703 marcf
@@ -183,14 +183,11 @@
throw new IllegalStateException( "No remote interface defined." );
if (ejbObject == null) {
- try {
+
// Create a new CacheKey
Object cacheKey =
((EntityCache)((EntityContainer)con).getInstanceCache()).createCacheKey(id);
- ejbObject =
((EntityContainer)con).getContainerInvoker().getEntityEJBObject(cacheKey);
- }
- catch (RemoteException re) {
- throw new IllegalStateException();
- }
+ ejbObject = (EJBObject)
((EntityContainer)con).getContainerInvoker().getEntityEJBObject(cacheKey);
+
}
return ejbObject;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development