[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Wildcards and JBossXb Builder
alesj
do-not-reply at jboss.com
Wed Mar 5 08:13:41 EST 2008
"adrian at jboss.org" wrote :
| I don't understand the question. Did you even read the thread I had with
| Kabir? You're a fast reader if you did, it was a long thread.
|
I did, post by post when they came up.
But like you said, it's a long thread, which took quite some time to 'grow', so probably some details got blurred. :-)
"adrian at jboss.org" wrote :
| The idea is to make the value type and group (and other xsd artificats from the mc) part of your schema/namespace.
|
I get the idea.
It was this automagic that I didn't see/understand:
"adrian at jboss.org" wrote :
| e.g. this will automagically create a value element/type in your
| namespace with the MC's value group defined in your namespace
|
| | @XmlElement(name="value")
| | public void setValue(ValueMetaData value)
| |
|
So the only work to be done is to split those common elements into mc-commons.xsd?
But will that jaxb automagic work currently ootb?
Since I believe I tried something similar already and got exception on the types that need special adapter, e.g. AutowireType --> AutowireTypeValueAdapter.
Not being able to handle them, saying there is no existing adapter for that particular type.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134230#4134230
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134230
More information about the jboss-dev-forums
mailing list