Author: chris.laprun(a)jboss.com
Date: 2012-03-21 06:17:57 -0400 (Wed, 21 Mar 2012)
New Revision: 8624
Modified:
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java
Log:
- GTNWSRP-280: Made more classes Serializable.
Modified:
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java
===================================================================
---
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java 2012-03-21
04:50:40 UTC (rev 8623)
+++
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java 2012-03-21
10:17:57 UTC (rev 8624)
@@ -25,6 +25,7 @@
import org.gatein.common.util.ParameterValidation;
+import java.io.Serializable;
import java.util.Locale;
/**
@@ -32,7 +33,7 @@
* @version $Revision:5865 $
* @since 2.6
*/
-public class LocalizedString
+public class LocalizedString implements Serializable
{
private String value;
private Locale locale;
Modified:
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java
===================================================================
---
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java 2012-03-21
04:50:40 UTC (rev 8623)
+++
components/wsrp/branches/2.1.x/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java 2012-03-21
10:17:57 UTC (rev 8624)
@@ -26,6 +26,7 @@
import org.gatein.common.util.ParameterValidation;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
@@ -36,7 +37,7 @@
* @version $Revision:5865 $
* @since 2.6
*/
-public class RegistrationPropertyDescription implements PropertyDescription
+public class RegistrationPropertyDescription implements PropertyDescription,
Serializable
{
public static final ParameterValidation.ValidationErrorHandler HANDLER = new
ParameterValidation.ValidationErrorHandler(null)
{
Modified:
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
===================================================================
---
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2012-03-21
04:50:40 UTC (rev 8623)
+++
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2012-03-21
10:17:57 UTC (rev 8624)
@@ -40,6 +40,7 @@
import org.slf4j.LoggerFactory;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -53,7 +54,7 @@
* @version $Revision: 12686 $
* @since 2.6
*/
-public class RegistrationInfo implements RegistrationProperty.PropertyChangeListener
+public class RegistrationInfo implements RegistrationProperty.PropertyChangeListener,
Serializable
{
private static final Logger log = LoggerFactory.getLogger(RegistrationInfo.class);
Modified:
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java
===================================================================
---
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java 2012-03-21
04:50:40 UTC (rev 8623)
+++
components/wsrp/branches/2.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java 2012-03-21
10:17:57 UTC (rev 8624)
@@ -28,6 +28,8 @@
import javax.xml.namespace.QName;
+import java.io.Serializable;
+
import static org.gatein.wsrp.consumer.RegistrationProperty.Status.*;
/**
@@ -35,7 +37,7 @@
* @version $Revision: 12019 $
* @since 2.6
*/
-public class RegistrationProperty implements Comparable<RegistrationProperty>
+public class RegistrationProperty implements Comparable<RegistrationProperty>,
Serializable
{
private String persistentId;
private RegistrationPropertyDescription persistentDescription;
Show replies by date