"adrian(a)jboss.org" wrote : Question: Do you really want an aop:bean? Is that
just for ease of use?
No, I didn't understand properly and blindly followed your example :-) Now it makes a
lot more sense wrt @XmlAnyElement.
I now have
| @XmlElements
| ({
| @XmlElement(name="aspect", type=AspectBeanMetaDataFactory.class),
| @XmlElement(name="interceptor",
type=InterceptorBeanMetaDataFactory.class),
| @XmlElement(name="bind", type=BindBeanMetaDataFactory.class),
| @XmlElement(name="stack", type=StackBeanMetaDataFactory.class),
| @XmlElement(name="typedef", type=TypeDefBeanMetaDataFactory.class),
| @XmlElement(name="cflow-stack",
type=CFlowStackBeanMetaDataFactory.class)
| })
| @XmlAnyElement
| public void setBeanFactories(List<BeanMetaDataFactory> beanFactories)
| {
| super.setBeanFactories(beanFactories);
| }
|
and that works great. Thanks for your help
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132452#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...