EventEmitter for Java