Wormhole pattern w. AspectJ: How to get caller method name?
问题 Using the wormhole pattern with AspectJ, is there a way that the executing method name can be seen in the wormhole advice? I have an example where a service class (ClientService) calls getters on a domain class (Client). What I want, is to know in the advice to know the name of service method that called the getter. I have no problem seeing the service object itself, but I need the name of the service method. Here's my aspect: public aspect MyAspect { pointcut serviceExecution(ClientService