Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
123456789101112 |
- import org.aspectj.lang.ProceedingJoinPoint;
- import org.aspectj.lang.annotation.Around;
- import org.aspectj.lang.annotation.Aspect;
-
- @Aspect
- public class FirstAspect {
- @Around("execution(* doSomething())")
- public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
- System.out.println(getClass().getSimpleName());
- return joinPoint.proceed();
- }
- }
|