Author: david.lloyd(a)jboss.com
Date: 2010-04-05 15:06:48 -0400 (Mon, 05 Apr 2010)
New Revision: 5842
Modified:
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java
Log:
Add JBXB annotation to avoid disappearing elements
Modified:
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java
===================================================================
---
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java 2010-03-26
18:41:34 UTC (rev 5841)
+++
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java 2010-04-05
19:06:48 UTC (rev 5842)
@@ -18,6 +18,8 @@
import org.jboss.remoting3.security.ServerAuthenticationProvider;
import org.jboss.remoting3.security.SimpleClientCallbackHandler;
import org.jboss.remoting3.security.SimpleServerAuthenticationProvider;
+import org.jboss.xb.annotations.JBossXmlConstants;
+import org.jboss.xb.annotations.JBossXmlModelGroup;
import org.jboss.xb.annotations.JBossXmlSchema;
import org.jboss.xnio.ChannelListener;
import org.jboss.xnio.Option;
@@ -43,6 +45,7 @@
@JBossXmlSchema (namespace = "urn:jboss:remoting:3.1", elementFormDefault =
XmlNsForm.QUALIFIED)
@XmlRootElement (name = "remoting")
@XmlType (name = "remoting", propOrder = {})
+@JBossXmlModelGroup(kind = JBossXmlConstants.MODEL_GROUP_UNORDERED_SEQUENCE)
public class RemotingMetaData implements BeanMetaDataFactory, Serializable {
private static final long serialVersionUID = 1L;
Show replies by date