I have a runnable jar file in which I run the Start.java file.
Start.java spawns 3 child threads. How can I kill the Start thread & the child threads?
Here is Start.java
public class Start {
public static void main(String[] args){
ListenersManager.start();
PollPatientPortalManager.start();
PollHISManager.start();
}
}
ListenersManager, PollPatientPortalManager & PollHISManager all extend Thread
.