package market.thread.slmContract;

import CoreFS.SA01.CoreIComponent;

public class SlmContractServletMgt extends CoreIComponent {
	private static int runCopies = 0;
	private static Boolean shouldStop = false;
	private SlmContractServletThread slmcontractThread = null;

	public static Boolean getShouldStop() {
		return shouldStop;
	}

	public SlmContractServletMgt() throws Exception {
		if (++runCopies == 1) {
			slmcontractThread = new SlmContractServletThread();
			slmcontractThread.setName("SlmContractServletThread");
			slmcontractThread.setDaemon(true);
			slmcontractThread.start();
		}
	}

}