Package thread

Source Code of thread.LCServiceThread

package thread;
import cputils.CPHMLCService;

/**
* (C) Copyright 2012 ZWW
*/

/**
* @author ZWW
* @date 2014-3-22 下午7:49:41
* @version V1.0
*/
public class LCServiceThread implements Runnable{
  private String issueNo;
  private boolean onsale;
  private String userName;
  public LCServiceThread(String issueNo,String userName,boolean onsale){
    this.issueNo = issueNo;
    this.onsale = onsale;
    this.userName = userName;
  }
 
  @Override
  public void run() {
    //synchronized(CPHMService.class){
    CPHMLCService service = new CPHMLCService();
    service.writeLecaiHMData(issueNo, userName, onsale);
    //}
  }
 
}
TOP

Related Classes of thread.LCServiceThread

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.