WON.dev
SampleServiceImpl.java 본문
package org.joonzis.service;
import org.springframework.stereotype.Service;
@Service
public class SampleServiceImpl implements SampleService{
@Override
public Integer doAdd(String str1, String str2) throws Exception {
return Integer.parseInt(str1) +Integer.parseInt(str2) ;
}
}
'SPRING > chapter06_AOP' 카테고리의 다른 글
chapter06_AOP/pom.xml (0) | 2023.07.06 |
---|---|
SampleServiceTests.java (0) | 2023.07.06 |
SampleService.java (0) | 2023.07.06 |
LogAdvice.java (0) | 2023.07.06 |
02_Transaction.txt (0) | 2023.07.06 |