"adrian(a)jboss.org" wrote :
| This works in the MC stuff, so its obviously not defined correctly in the annotations
| for the ejb stuff.
|
This is how you define it generically
| public class ListElementWildcard
| {
| private List<Element> wildcard;
|
| public List<Element> getWildcard()
| {
| return wildcard;
| }
|
| @XmlAnyElement(lax=true)
| public void setWildcard(List<Element> wildcard)
| {
| this.wildcard = wildcard;
| }
|
You can also make it recognise specific types, e.g. we could define
the known JMSContainerInvoker config, etc. by adding @XmlElements
and specific types but then you need to make List
if you also want it to have raw Elements.
The real problem is that it just isn't implemented
(at least in the version in the JBossXB project)
| @XmlType(name="invoker-proxy-bindingType")
| public class InvokerProxyBindingMetaData extends NamedMetaDataWithDescriptions
| {
| ...
|
| /** The proxy factory config */
| // TODO DOM private Element proxyFactoryConfig;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087232#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...