[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss/src/main/org/jboss/invocation ...
From: Clebert Suconic <csuconic () jboss ! com>
Date: 2006-02-28 21:57:02
Message-ID: E1FECq6-0001oA-JO () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]
User: csuconic
Date: 06/02/28 16:57:02
Modified: src/main/org/jboss/invocation Tag: Branch_4_0
MarshalledInvocation.java
Log:
JBAS-2436 and JBAS-2869
Revision Changes Path
No revision
No revision
1.17.6.15 +18 -3 jboss/src/main/org/jboss/invocation/MarshalledInvocation.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MarshalledInvocation.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/invocation/MarshalledInvocation.java,v
retrieving revision 1.17.6.14
retrieving revision 1.17.6.15
diff -u -b -r1.17.6.14 -r1.17.6.15
--- MarshalledInvocation.java 27 Feb 2006 17:41:39 -0000 1.17.6.14
+++ MarshalledInvocation.java 28 Feb 2006 21:57:02 -0000 1.17.6.15
@@ -53,7 +53,7 @@
* @author Bill.Burke@jboss.org
* @author Scott.Stark@jboss.org
* @author Clebert.Suconic@jboss.org - added pluggable serialization
- * @version $Revision: 1.17.6.14 $
+ * @version $Revision: 1.17.6.15 $
*/
public class MarshalledInvocation
extends Invocation
@@ -466,6 +466,21 @@
Object value = getPayload().get(key);
// The map may contain serialized values of the fields
+ if (value instanceof MarshalledValue)
+ {
+ try
+ {
+ MarshalledValue mv = (MarshalledValue) value;
+ value = mv.get();
+ }
+ catch (Exception e)
+ {
+ IllegalStateException ise = new IllegalStateException("getPayloadValue failed");
+ ise.initCause(e);
+ throw ise;
+ }
+ }
+ else
if (value instanceof IMarshalledValue)
{
try
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic