I see two ways to workaround this.
In both cases the Module class should be bound to choice with @JBossXmlModelGroup.
First is to create a ModuleHolder that would be bound to the module element. And then add
JavaXmlTypeAdapter that would take ModuleHandler and return the module it holds.
Second is to introduce an XB annotation equivalent to TermBinding.setSkip(trueOrFalse) and
set it on the module element.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094517#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...