You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chandra Gottipati <cg...@algx.net> on 2003/01/29 16:45:24 UTC

Starting a Clean-up program

I have a static method that starts a thread with a class that does some
clean-up tasks.

  public static void init(){
    Thread t = new Thread( new ClearUserHashMapClient() );
    t.start();
  }//init

How can I configure my webapp to call this init() method when I deploy my
war file on Tomcat.


Thanks,

Chandra.





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org