[jboss-user] [JBoss AOP] - Re: AOP configuration in AS

ekobir do-not-reply at jboss.com
Tue Oct 28 19:32:55 EDT 2008


Hi All

Is it right to think assumption at below?

Whenever a war file is deployed, JBoss application server's class loader loads the class which  implements ServletContext then trigger the ServletContextEvent.

Before all operation above, I assume that all configurations(web.xml, jboss-aop.xml, application.xml or vs) are read.

Therefore AOP advices/interceptions even on ServletContext implementation will be vlid as firstly config is read then initialization is done.

What could happen if more than web applications are deployed on same jboss instance? Would Class file of ServletContext implementation be loaded per class loader assigned to war file or same loaded class be used every war file? (What kind of class loading hierarchy is there??)


Thanks a lot for your help...


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

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



More information about the jboss-user mailing list