BAEL-19967: Migrate spring-aop module to the com.baeldung package
This commit is contained in:
12
spring-aop/src/main/java/com/baeldung/Service.java
Normal file
12
spring-aop/src/main/java/com/baeldung/Service.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package com.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