package market.thread.mesRcdWgt;

import CoreFS.SA01.CoreIComponent;

public class MesRcdWgtServletMgt extends CoreIComponent {
	private static int runCopies = 0;
	private static Boolean shouldStop = false;
	private MesRcdWgtServletThread mesRcdWgtServletThread = null;

	public static Boolean getShouldStop() {
		return shouldStop;
	}

	public MesRcdWgtServletMgt() throws Exception {
		if (++runCopies == 1) {
			mesRcdWgtServletThread = new MesRcdWgtServletThread();
			mesRcdWgtServletThread.setName("MesRcdWgtServletThread");
			mesRcdWgtServletThread.setDaemon(true);
			mesRcdWgtServletThread.start();
		}
	}

}