"unloadDelay" property is specific to a web application deployed on the the
tomcat. A web application is represented by Context type.
What you can do is get a reference to the concerned webapp deployed on
tomcat and then set the property. You can do something like below
Container ctx = tomcat.getH
I am running Tomcat embedded via something like the following code:
tomcat = new Tomcat();
tomcat.setBaseDir(DEFAULT_BASE_DIR);
tomcat.getService().addConnector(defaultConnector);
tomcat.setConnector(defaultConnector);
tomcat.init();
tomcat.start();
How do I go about setting the *unloadD