Spring AOP

De My Limbic Wiki
Aller à : navigation, rechercher

@Aspect public class LoggingAspect {

   @AfterThrowing ("execution(* com.howtodoinjava.app.service.impl.EmployeeManagerImpl.*(..))")
   public void logAfterThrowingAllMethods() throws Throwable { ... }

}