[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-5895; Processing too many classes

alesj do-not-reply at jboss.com
Fri Sep 12 15:09:06 EDT 2008


"alesj" wrote : 
  | The problem I see for me is that in the deployers that are Module aware
  | don't know if underlying deployment unit is top ear deployment unit,
  | since it's only structure deployers that understand ear (war, jar, ...),
  | but they don't have a clue about Module.
  | 
What about if I add a predetermined attachment to ear's top 
deployment context and then grab it out in one of the deployers 
that's just in between from Module-creating-deployer and AnnotationScanningDeployer?
e.g. if the attachment is there, then it means this deployment unit
is ear top deployment unit, hence apply root filter
Or too much of a hack? :-)

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

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



More information about the jboss-dev-forums mailing list