hoi!
hab folgenden aspect:
Code
public aspect PersistenceAspect {
/**
* Pointcut which executes on
*
* * Methods with @Persistence annotation
* * Subclasses of BaseService
*/
pointcut invoker(BaseService service) : execution (@Persistence * BaseService.*(..)) && target(service);
/**
* Before advice
*
*/
before(BaseService service) : invoker(service) {
System.out.print("invoking persistence method");
}
}
Alles anzeigen
jedoch bekomm ich immer die warnung "advice defined in PersistenceAspect has not been applied"
irgendeine idee?
lg, chr.