summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/core/src
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2011-01-17 13:33:14 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2011-01-17 13:33:14 +0000
commite791c5c55cd0c2bca782c4b524761f02dde38c8b (patch)
treec31115083bf144c98b5943dbaf47121199a3a2d9 /sca-java-2.x/trunk/modules/core/src
parent3e30a3cc1022a68bd6061c58a775137872b7efe3 (diff)
Make MessageFactoryImpl serializable to enable correct serialization of Endpoints & Endpoint references
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059919 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/core/src')
-rw-r--r--sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/MessageFactoryImpl.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/MessageFactoryImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/MessageFactoryImpl.java
index 6ce2ffca21..6f3e947631 100644
--- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/MessageFactoryImpl.java
+++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/MessageFactoryImpl.java
@@ -19,6 +19,8 @@
package org.apache.tuscany.sca.core.invocation.impl;
+import java.io.Serializable;
+
import org.apache.tuscany.sca.invocation.Message;
import org.apache.tuscany.sca.invocation.MessageFactory;
@@ -27,9 +29,14 @@ import org.apache.tuscany.sca.invocation.MessageFactory;
*
* @version $Rev$ $Date$
*/
-public class MessageFactoryImpl implements MessageFactory {
+public class MessageFactoryImpl implements MessageFactory, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -2112289169275106977L;
- public Message createMessage() {
+ public Message createMessage() {
return new MessageImpl();
}