"[EMAIL PROTECTED]" wrote : | I guess in this case my "outer" metadata unit is just a "holder" for the different types of actual metadata. In this case I guess I won't implement BeanMetaDataFactory on it, but rather on each metadata class that translates into beans. Your top element/metadata must implement BMDF, since that is how AbstractKernelDeployment is able to understand what you've put as any element:
| @XmlElements | ({ | @XmlElement(name="bean", type=AbstractBeanMetaData.class), | @XmlElement(name="beanfactory", type=GenericBeanFactoryMetaData.class), | @XmlElement(name="lazy", type=AbstractLazyMetaData.class) | }) | @XmlAnyElement | public void setBeanFactories(List<BeanMetaDataFactory> beanFactories) | { | this.beanFactories = beanFactories; | flushJBossObjectCache(); | } | What you do in that method, how you get the beanmetadatas, is up to you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139020#4139020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139020 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user