Author: chris.laprun(a)jboss.com
Date: 2010-10-25 12:06:08 -0400 (Mon, 25 Oct 2010)
New Revision: 4821
Modified:
components/pc/trunk/api/src/main/java/org/gatein/pc/api/Mode.java
components/pc/trunk/api/src/main/java/org/gatein/pc/api/WindowState.java
Log:
- GTNPC-38: Constructors need to be public for JAXB unmarshalling done by
SupportsMetaData.
Modified: components/pc/trunk/api/src/main/java/org/gatein/pc/api/Mode.java
===================================================================
--- components/pc/trunk/api/src/main/java/org/gatein/pc/api/Mode.java 2010-10-25 15:38:26
UTC (rev 4820)
+++ components/pc/trunk/api/src/main/java/org/gatein/pc/api/Mode.java 2010-10-25 16:06:08
UTC (rev 4821)
@@ -53,7 +53,12 @@
/** . */
private String name;
- private Mode(String name)
+ /**
+ * This NEEDS to be public for JAXB unmarshalling done by SupportsMetaData.
+ *
+ * @param name
+ */
+ public Mode(String name)
{
this(name, false);
}
Modified: components/pc/trunk/api/src/main/java/org/gatein/pc/api/WindowState.java
===================================================================
--- components/pc/trunk/api/src/main/java/org/gatein/pc/api/WindowState.java 2010-10-25
15:38:26 UTC (rev 4820)
+++ components/pc/trunk/api/src/main/java/org/gatein/pc/api/WindowState.java 2010-10-25
16:06:08 UTC (rev 4821)
@@ -47,7 +47,12 @@
/** . */
private String name;
- private WindowState(String name)
+ /**
+ * This NEEDS to be public for JAXB unmarshalling done by SupportsMetaData.
+ *
+ * @param name
+ */
+ public WindowState(String name)
{
this(name, false);
}
Show replies by date