Re: @ActionEvent generation doesn't work when method is called within the same manager context

2014-05-15 Thread Darren Shepherd
Any call to this.method() will not process @ActionEvent annotation. That is expected after the spring changes that were done. There's no change that can be done to change that behavior, it's just how spring AOP work because it's proxy based. If you want @ActionEvent to be processed you must

Re: @ActionEvent generation doesn't work when method is called within the same manager context

2014-05-12 Thread Kelven Yang
...@citrix.commailto:alena.prokharc...@citrix.com Cc: Kelven Yang kelven.y...@citrix.commailto:kelven.y...@citrix.com, dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org Subject: Re: @ActionEvent generation doesn't work when method is called within the same

@ActionEvent generation doesn't work when method is called within the same manager context

2014-05-11 Thread Alena Prokharchyk
Kelven/Darren, While working on the fix for CLOUDSTACK-6595, I’ve noticed that the methods annotated with @ActionEvents sometimes don’t generate the events. It happens when the annotated method is called within the same manager. When its called from another manager, the event is generated and