Files
SpringRest/src/main/java/application/events/impl/EventObjectImpl.java
T
2015-02-01 16:20:45 +01:00

24 lines
515 B
Java

package application.events.impl;
import application.events.EventObject;
/**
* Created by lukasgol on 01.02.15.
*/
public class EventObjectImpl implements EventObject {
@Override
public void validEvent() {
System.out.println("Chceking event: "+this.getClass().getName());
}
@Override
public void handleEvent() {
System.out.println("sending notification for event: "+this.getClass().getName());
}
@Override
public boolean isValid() {
return true;
}
}