package market.thread.interfaceInBill;

import CoreFS.SA01.CoreIComponent;

public class InBillMgt extends CoreIComponent {
	private static int runCopies = 0;
	private static Boolean shouldStop = false;
	private InBillThread inBillThread = null;

	public static Boolean getShouldStop() {
		return shouldStop;
	}

	public InBillMgt() throws Exception {
		if (++runCopies == 1) {
			inBillThread = new InBillThread();
			inBillThread.setName("InBillThread");
			inBillThread.setDaemon(true);
			inBillThread.start();
		}
	}

}