[jboss-dev-forums] [Design of POJO Server] - Re: JSR-299 servlet injection
alesj
do-not-reply at jboss.com
Mon Mar 16 09:49:53 EDT 2009
"pete.muir at jboss.org" wrote : I still think a context callback of some sort is best here.
|
I had diff callback in mind.
This is something we do similar to OSGi's services tracking/callback.
See MainDeployer and add/removeDeployer use case in deployers.xml.
"pete.muir at jboss.org" wrote :
| The ServletContext is propagated to the TomcatInjectionContainer, can we use the vdf connector to access the MC and fire some event?
I guess we could have some servlet listener
which would via vdf connector code get access to WB's Bootstrap
and invoke it's WBManager::injectServlet.
btw, this looks deprecated in ServletContext.
| /**
| * @deprecated
| */
| javax.servlet.Servlet getServlet(java.lang.String s) throws javax.servlet.ServletException;
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218290#4218290
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218290
More information about the jboss-dev-forums
mailing list