Пример #1
0
 public void foo() {
   jsl.jobStateChange(new StateEvent(this, JobState.COMPLETE, null));
 }
Пример #2
0
 public void addStateListener(StateListener listener) {
   jsl = listener;
   listener.jobStateChange(new StateEvent(this, JobState.READY, null));
 }