Author: chris.laprun(a)jboss.com
Date: 2012-03-21 06:35:50 -0400 (Wed, 21 Mar 2012)
New Revision: 8626
Modified:
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java
Log:
- GTNWSRP-280: Made more classes Serializable.
Modified:
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java
===================================================================
---
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java 2012-03-21
10:18:37 UTC (rev 8625)
+++
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/LocalizedString.java 2012-03-21
10:35:50 UTC (rev 8626)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2009, Red Hat Middleware, LLC, and individual
+ * Copyright 2012, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -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/trunk/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java
===================================================================
---
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java 2012-03-21
10:18:37 UTC (rev 8625)
+++
components/wsrp/trunk/common/src/main/java/org/gatein/wsrp/registration/RegistrationPropertyDescription.java 2012-03-21
10:35:50 UTC (rev 8626)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2011, Red Hat Middleware, LLC, and individual
+ * Copyright 2012, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -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/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2012-03-21
10:18:37 UTC (rev 8625)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2012-03-21
10:35:50 UTC (rev 8626)
@@ -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/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java 2012-03-21
10:18:37 UTC (rev 8625)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationProperty.java 2012-03-21
10:35:50 UTC (rev 8626)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2010, Red Hat Middleware, LLC, and individual
+ * Copyright 2012, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -27,6 +27,7 @@
import org.gatein.wsrp.registration.RegistrationPropertyDescription;
import javax.xml.namespace.QName;
+import java.io.Serializable;
import static org.gatein.wsrp.consumer.RegistrationProperty.Status.*;
@@ -35,7 +36,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;