示例#1
0
 public static SampleEvent event(String name, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setName(name);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
示例#2
0
 public static SampleEvent event(Class<?> event, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
示例#3
0
 public static SampleEvent event(Class<?> event, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setEventObjects(eventObjects);
   return te;
 }