[jboss-dev-forums] [Design of JBossXB] - Re: Recent tests
adrian@jboss.org
do-not-reply at jboss.com
Thu Dec 7 05:53:16 EST 2006
It isn't possible because the child needs to be injected into two different parents.
See the other duplicate interceptors test.
Well, it is possible, but you have to do a horrible case statement (knowing all
possible parents) like:
http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/deployment/xml/ValueElementInterceptor.java
This might be ok when you are dealing with a single model, but when
you are trying to generate the model from annotations on a class it becomes
very messy, if possible at all?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991921#3991921
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991921
More information about the jboss-dev-forums
mailing list