Trying ServletContext#getServletRegistration was disappointing, since 
ServletContext#getServletRegistrations and 
ServletContext#getServletRegistration are not implemented on 
com.google.apphosting.utils.jetty.AppEngineWebAppContext$AppEngineServletContext
 
while ServletContext#getServlet returns null and 
ServletContext#getServletsreturns an empty 
Enumeration (as documented).

I'm now thinking I should install a filter that will do the initialization 
after calling FilterChain#doFilter. I'll see if I can a filter to run if 
mapped by the url-pattern '/_ah/warmup'.


Please let me know if there's a more straightforward way to invoke GAE's 
default warming.

Thanks!
John

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to