There is a prototype of using JBossXB annotations to parse the Microcontainer xml here;
This is basically a clone of the MC's xml parsing testsuite and annoations on the metdata
from about 5 months ago, so it will be out-of-date wrt to new features since then.
This will replace the schema binding initializer code, making jboss-kernel.jar a lot smaller.
Also, there's a version for the javabean parsing from the container project here:
I doubt this has changed since I did it?
You probably want to do the javabean one first so you understand what is going on.