[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Implementing JAXB style parsing for aop-mc-int

adrian@jboss.org do-not-reply at jboss.com
Thu Feb 21 09:59:12 EST 2008


"kabir.khan at jboss.com" wrote : FULL POST...
  | Thanks, I will look into that. I think that answers a lot of the other questions I was about to ask.
  | 
  | However, I also need to be able to have 
  | 
  |   | <aop>
  |   | </aop>
  |   | 
  | 
  | at the top level so that I can support deployments similar to the current -aop.xml. Do you have any tips on how to achieve that?
  | 
  | 

Something like:

  | @JBossXmlSchema(elementFormDefault=XmlNsForm.UNQUALIFIED)
  | public class AOPDeployment extends AbstractKernelDeployment
  | {
  | }
  | 

Although I don't think Alex has put much testing into unqualified schemas in JBossXB
so you might want to force people to update their xml to use a namespace?


  | @JBossXmlSchema(namespace="urn:jboss:aop:2.0", elementFormDefault=XmlNsForm.QUALIFIED)
  | 
  | <aop xmlns="urn:jboss:aop:2.0">
  | </aop>
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131097#4131097

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131097



More information about the jboss-dev-forums mailing list