spring-custom-aop -> spring-aop (#1489)
This commit is contained in:
committed by
GitHub
parent
9472f0dd65
commit
b6e271f1f0
@@ -0,0 +1,12 @@
|
||||
package org.baeldung;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class Service {
|
||||
|
||||
@LogExecutionTime
|
||||
public void serve() throws InterruptedException {
|
||||
Thread.sleep(2000);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user