[jboss-dev-forums] [Design of EJB 3.0] - Re: JBossEjbParsingDeployer can't handle EJB3 jboss.xml

scott.stark@jboss.org do-not-reply at jboss.com
Thu Jun 28 10:52:30 EDT 2007


"wolfc" wrote : Doh, a xml parsing deployer has order 2000. An annotation parsing deployer needs to run after classloader deployer (4000), so I now have the AppClientScanningDeployer at POSTPROCESS_CLASSLOADER_DEPLOYER (5000).
  | But this means that a chain of EjbAnnotationParsingDeployer -> EjbParsingDeployer -> JBossEjbParsingDeployer won't work. How can this be resolved?
  | 

Instead of simple index based ordering, deployers should be ordered based on what the consume in terms of attachment types. If we have a very aggregate attachment where only pieces are overridden by other deployers, we need a phase notion as well. This is just a relative index based ordering for the attachment type.

I don't know if the attachment type ordering is part of the refactoring Adrian has done. Its something we talked about.


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

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



More information about the jboss-dev-forums mailing list