摘要: /** * 取得流程实例携带的变量 * @author Administrator * */ public class Test02 { public static void main(String[] args) { ProcessEngine processEngine = ProcessEngines.getDefaultP... 阅读全文
posted @ 2018-01-17 08:39 yoyo198212 阅读(311) 评论(0) 推荐(0) 编辑
摘要: /** * 开启流程实例并为流程注入map * @author Administrator * */ public class Test01 { public static void main(String[] args) { ProcessEngine processEngine = ProcessEngines.getDef... 阅读全文
posted @ 2018-01-17 08:38 yoyo198212 阅读(198) 评论(0) 推荐(0) 编辑
摘要: /** * 查询任务 * @author Administrator * */ public class Test04 { public static void main(String[] args) { ProcessEngine processEngine = ProcessEngines.getDefaultProcess... 阅读全文
posted @ 2018-01-17 08:37 yoyo198212 阅读(228) 评论(0) 推荐(0) 编辑
摘要: /** * 查询流程实例 * @author Administrator * */ public class Test05 { public static void main(String[] args) { ProcessEngine processEngine = ProcessEngines.getDefaultProce... 阅读全文
posted @ 2018-01-17 08:36 yoyo198212 阅读(544) 评论(0) 推荐(0) 编辑
摘要: package cn.dajiaccp.acti01; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngines; import org.activiti.engine.runtime.ProcessInstance; /** * 流程实例的开启 ,可以做多次 * @author... 阅读全文
posted @ 2018-01-15 18:25 yoyo198212 阅读(221) 评论(0) 推荐(0) 编辑
摘要: /** * 数据库生成的代码 (只做一遍) * @author Administrator * */ public class Test01 { public static void main(String[] args) { // 定义配置文件 String resource = "activiti.cfg.xml"; // 读... 阅读全文
posted @ 2018-01-15 18:25 yoyo198212 阅读(127) 评论(0) 推荐(0) 编辑
摘要: package cn.dajiaccp.acti01; import java.io.InputStream; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngines; import org.activiti.engine.RepositoryService; import org... 阅读全文
posted @ 2018-01-15 18:24 yoyo198212 阅读(254) 评论(0) 推荐(0) 编辑
摘要: package cn.mutipart.thd; public class Test02 { public static void main(String[] args) { MyPainter p = new MyPainter(); new Thread(){ public void run() { ... 阅读全文
posted @ 2018-01-14 18:08 yoyo198212 阅读(149) 评论(0) 推荐(0) 编辑
摘要: package cn.mutipart.thd; public class TicketTest { public static void main(String[] args) { String lock = "这是线程锁"; Ticket t1 =new Ticket(lock); new Thread(t1).start(); ... 阅读全文
posted @ 2018-01-14 10:19 yoyo198212 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Graphics g = mf.getGraphics(); Image img = new ImageIcon("book1.png").getImage(); g.drawImage(img, 2, 2, null); 阅读全文
posted @ 2018-01-11 07:54 yoyo198212 阅读(220) 评论(0) 推荐(0) 编辑