Author: julien(a)jboss.com
Date: 2007-04-23 15:29:11 -0400 (Mon, 23 Apr 2007)
New Revision: 7031
Modified:
trunk/core/src/main/org/jboss/portal/core/ns/NavigationalStateKey.java
Log:
make CachedUserImpl and NSKey serializable for clustering
Modified: trunk/core/src/main/org/jboss/portal/core/ns/NavigationalStateKey.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/ns/NavigationalStateKey.java 2007-04-23
19:27:57 UTC (rev 7030)
+++ trunk/core/src/main/org/jboss/portal/core/ns/NavigationalStateKey.java 2007-04-23
19:29:11 UTC (rev 7031)
@@ -40,6 +40,13 @@
/** The id. */
private final Object id;
+ /**
+ * Construct a new navigational state key.
+ *
+ * @param type the type of state
+ * @param id the id
+ * @throws IllegalArgumentException if any argument is null or the id argument does
not implement either Serializable or Externalizable
+ */
public NavigationalStateKey(Class type, Object id)
{
if (type == null)
Show replies by date