This content has been marked as final.
Show 2 replies
-
1. Re: Events.raiseEvent with javabeans
gavin.king May 1, 2006 6:43 PM (in response to knaas)Well, I suppose I could do that.
But, OTOH, you could just doContexts.getEventContext().set("eventRaiser", this);
And you then inject eventRaiser in the observer... -
2. Re: Events.raiseEvent with javabeans
gavin.king May 1, 2006 6:46 PM (in response to knaas)Btw, I did also consider supporting a varargs list of arguments to raiseEvent(). I decided to leave that out for now, since it does not work so well if we are using EL expressions to call the observers.