package com.wangzhxiuan.event; import org.springframework.context.ApplicationEvent; /** * * @description 功能描述: 添加学生事件 * @author 作 者: 王志轩 * @createdate 建立日期: 2014-7-24下午5:34:07 * @projectname 项目名称: event * @packageclass 包及类名: com.wangzhxiuan.event.StudentAddEvent.java */ public class StudentAddEvent extends ApplicationEvent { private static final long serialVersionUID = -7448840367439328080L; private String name; private String sex; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public StudentAddEvent(Object source) { super(source); } public StudentAddEvent(Object source, String name, String sex) { super(source); this.name = name; this.sex = sex; } public void print() { System.out.println("Hello,Spring Event!!!"); } }

C544350851 LV26
2019年3月12日
huwl19911209 LV12
2018年5月9日
13141519 LV8
2018年4月28日
heyimtaeyang LV12
2017年12月27日
annazhang LV29
2017年10月7日
dagf113225 LV68
2017年9月22日
wangqi0624 LV9
2016年9月11日
scwuwei LV9
2016年4月6日
howdy LV8
2016年1月7日
liutaols LV8
2015年12月16日