Author: rareddy
Date: 2010-02-24 14:24:18 -0500 (Wed, 24 Feb 2010)
New Revision: 1871
Modified:
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/DataRoleMetadata.java
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/PropertyMetadata.java
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/ReferenceMappingMetadata.java
Log:
TEIID-998: All the metadata object needs to be serializable for transport purposes
Modified: branches/JCA/client/src/main/java/org/teiid/adminapi/impl/DataRoleMetadata.java
===================================================================
---
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/DataRoleMetadata.java 2010-02-23
22:22:21 UTC (rev 1870)
+++
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/DataRoleMetadata.java 2010-02-24
19:24:18 UTC (rev 1871)
@@ -21,6 +21,7 @@
*/
package org.teiid.adminapi.impl;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@@ -69,7 +70,7 @@
"securityRoleRef"
})
@ManagementObject
-public class DataRoleMetadata {
+public class DataRoleMetadata implements Serializable {
@XmlAttribute(name = "name", required = true)
protected String name;
Modified: branches/JCA/client/src/main/java/org/teiid/adminapi/impl/PropertyMetadata.java
===================================================================
---
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/PropertyMetadata.java 2010-02-23
22:22:21 UTC (rev 1870)
+++
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/PropertyMetadata.java 2010-02-24
19:24:18 UTC (rev 1871)
@@ -22,6 +22,8 @@
package org.teiid.adminapi.impl;
+import java.io.Serializable;
+
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
@@ -43,7 +45,7 @@
*/
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "property")
-public class PropertyMetadata {
+public class PropertyMetadata implements Serializable{
@XmlAttribute(name = "name", required = true)
protected String name;
Modified:
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/ReferenceMappingMetadata.java
===================================================================
---
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/ReferenceMappingMetadata.java 2010-02-23
22:22:21 UTC (rev 1870)
+++
branches/JCA/client/src/main/java/org/teiid/adminapi/impl/ReferenceMappingMetadata.java 2010-02-24
19:24:18 UTC (rev 1871)
@@ -21,6 +21,7 @@
*/
package org.teiid.adminapi.impl;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
@@ -53,7 +54,7 @@
"names"
})
@ManagementObject
-public class ReferenceMappingMetadata {
+public class ReferenceMappingMetadata implements Serializable {
@XmlElement(name = "ref-name", required = true)
protected String refName;
Show replies by date