hi, is that possible to weave @aspect to @controller ?
say i had
Code:@Aspect public class mailAgent { ..... @After( "execution(* com.web.RegisterController.register(..)" ) public void sendmail() { /*send mail code */ } ..... }however, I had try it and it can't work.Code:package com.web; @Controller public class RegisterController { private register(User user) { /*do Something... */ } }
any idea ?
kiwi
----
happy hacking !


Reply With Quote