Christophe Verré wrote:This is not going to work. If Spring is not managing your bean, how is it going to apply AOP ? Declare your worker in your context file, and get your bean via the application context or via a bean factory.
Thanks! I will try to do it that way!!
A method returning a boolean must return something. Your code doesn't return anything.
Yep!! i agree i removed the logic of the function, just to avoid un-necessary bloating and forgot the return.
Thank you!