I need to access the deployed containers in Tomcat somehow. I want to get the currently deployed containers, and also register for notification about changes. To do this I need access to the Embedded instance, but I can't figure out how to get to it. Is there a way to access it?
If not, is there any other way to access information about what WAR files have been deployed? I need (at least) the classloaders of all of them, for a portlet implementation.