Fernando Takai <fernando.takai <at> gmail.com> writes:
>
> I had this kind of problem (object is not an instance of declaring
> class) when trying to use Java + Groovy. My solution was creating an interface
and implementing it on the Service. Then, i used the interface where should be
the service.
I see, and did you try the same thing for Grails Controllers, too?
I tried to match a controller using a pointcut like this:
execution(* org.myapp.controllers.*Controller$_closure*.doCall(..))
but it won't match. It won't even match when supplying a concrete Controller
class and closure number, e.g. MyController$_closure1.
any ideas?
Thanks for your input.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email