com.github.dennisit.vplus.data.spring.SpringEvent Maven / Gradle / Ivy
package com.github.dennisit.vplus.data.spring;
import org.springframework.context.ApplicationEvent;
public class SpringEvent extends ApplicationEvent {
protected T data;
public SpringEvent(Object source) {
super(source);
}
public SpringEvent(Object source, T data) {
super(source);
this.data = data;
}
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
}