You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2004/06/08 18:47:18 UTC
cvs commit: ws-axis/java/src/org/apache/axis/description AttributeDesc.java ElementDesc.java FaultDesc.java FieldDesc.java OperationDesc.java ServiceDesc.java TypeDesc.java
dims 2004/06/08 09:47:18
Modified: java/src/org/apache/axis/description AttributeDesc.java
ElementDesc.java FaultDesc.java FieldDesc.java
OperationDesc.java ServiceDesc.java TypeDesc.java
Log:
Fix for AXIS-1380 - ObjectMessage.SetObject fails w/ Serializable Error
Notes:
- re-ordered the imports.
Revision Changes Path
1.6 +2 -1 ws-axis/java/src/org/apache/axis/description/AttributeDesc.java
Index: AttributeDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/AttributeDesc.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AttributeDesc.java 25 Feb 2004 14:02:35 -0000 1.5
+++ AttributeDesc.java 8 Jun 2004 16:47:17 -0000 1.6
@@ -16,6 +16,7 @@
package org.apache.axis.description;
import javax.xml.namespace.QName;
+import java.io.Serializable;
/**
* An AttributeDesc is a FieldDesc for an Java field mapping to an
@@ -23,7 +24,7 @@
*
* @author Glen Daniels (gdaniels@apache.org)
*/
-public class AttributeDesc extends FieldDesc {
+public class AttributeDesc extends FieldDesc implements Serializable {
public AttributeDesc() {
super(false);
}
1.6 +2 -1 ws-axis/java/src/org/apache/axis/description/ElementDesc.java
Index: ElementDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/ElementDesc.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ElementDesc.java 25 Feb 2004 14:02:35 -0000 1.5
+++ ElementDesc.java 8 Jun 2004 16:47:17 -0000 1.6
@@ -16,6 +16,7 @@
package org.apache.axis.description;
import javax.xml.namespace.QName;
+import java.io.Serializable;
/**
* An AttributeDesc is a FieldDesc for an Java field mapping to an
@@ -23,7 +24,7 @@
*
* @author Glen Daniels (gdaniels@apache.org)
*/
-public class ElementDesc extends FieldDesc {
+public class ElementDesc extends FieldDesc implements Serializable {
/** The minOccurs value from the schema */
private int minOccurs = 1;
/** The maxOccurs value from the schema */
1.10 +2 -1 ws-axis/java/src/org/apache/axis/description/FaultDesc.java
Index: FaultDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/FaultDesc.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- FaultDesc.java 25 Feb 2004 14:02:35 -0000 1.9
+++ FaultDesc.java 8 Jun 2004 16:47:17 -0000 1.10
@@ -17,6 +17,7 @@
package org.apache.axis.description;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import java.util.ArrayList;
/**
@@ -25,7 +26,7 @@
* @author Glen Daniels (gdaniels@apache.org)
* @author Tom Jordahl (tomj@apache.org)
*/
-public class FaultDesc {
+public class FaultDesc implements Serializable {
private String name;
private QName qname;
private ArrayList parameters;
1.11 +2 -1 ws-axis/java/src/org/apache/axis/description/FieldDesc.java
Index: FieldDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/FieldDesc.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- FieldDesc.java 25 Feb 2004 14:02:35 -0000 1.10
+++ FieldDesc.java 8 Jun 2004 16:47:17 -0000 1.11
@@ -17,6 +17,7 @@
package org.apache.axis.description;
import javax.xml.namespace.QName;
+import java.io.Serializable;
/**
* FieldDescs are metadata objects which control the mapping of a given
@@ -24,7 +25,7 @@
*
* @author Glen Daniels (gdaniels@apache.org)
*/
-public class FieldDesc {
+public class FieldDesc implements Serializable {
/** The name of the Java field in question */
private String fieldName;
/** The XML QName this field maps to */
1.39 +2 -1 ws-axis/java/src/org/apache/axis/description/OperationDesc.java
Index: OperationDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/OperationDesc.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- OperationDesc.java 8 Apr 2004 13:09:06 -0000 1.38
+++ OperationDesc.java 8 Jun 2004 16:47:17 -0000 1.39
@@ -21,6 +21,7 @@
import org.apache.commons.logging.Log;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
@@ -33,7 +34,7 @@
*
* @author Glen Daniels (gdaniels@apache.org)
*/
-public class OperationDesc {
+public class OperationDesc implements Serializable {
// Constants for "message style" operation patterns. If this OperationDesc
// is message style, the Java method will have one of these signatures:
1.86 +3 -3 ws-axis/java/src/org/apache/axis/description/ServiceDesc.java
Index: ServiceDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/ServiceDesc.java,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- ServiceDesc.java 10 May 2004 20:20:17 -0000 1.85
+++ ServiceDesc.java 8 Jun 2004 16:47:17 -0000 1.86
@@ -15,14 +15,14 @@
*/
package org.apache.axis.description;
-import org.apache.axis.enum.Style;
-import org.apache.axis.enum.Use;
import org.apache.axis.encoding.TypeMapping;
import org.apache.axis.encoding.TypeMappingRegistry;
+import org.apache.axis.enum.Style;
+import org.apache.axis.enum.Use;
import javax.xml.namespace.QName;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
public interface ServiceDesc {
/**
1.39 +3 -2 ws-axis/java/src/org/apache/axis/description/TypeDesc.java
Index: TypeDesc.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/description/TypeDesc.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- TypeDesc.java 25 Feb 2004 14:02:35 -0000 1.38
+++ TypeDesc.java 8 Jun 2004 16:47:17 -0000 1.39
@@ -22,10 +22,11 @@
import org.apache.axis.utils.cache.MethodCache;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
-import java.util.Map;
import java.util.Hashtable;
+import java.util.Map;
/**
* A TypeDesc represents a Java<->XML data binding. It is essentially
@@ -34,7 +35,7 @@
*
* @author Glen Daniels (gdaniels@apache.org)
*/
-public class TypeDesc {
+public class TypeDesc implements Serializable {
public static final Class [] noClasses = new Class [] {};
public static final Object[] noObjects = new Object[] {};