내가 방법을 다음에서 문자열을 인쇄 할 수있는 포인트 컷과 조언을 쓰기 위해 노력하고 내부 변수를 인쇄 -AspectJ의 포인트 컷은 로컬 방법 코드를 성찰하고 현지 법
public CustomerDto getCustomer(Integer customerCode){
CustomerDto customerDto = new CustomerDto();
String emailID =getEmailAddress();
customerDto.setEmailAddress(emailID);
customerDto.setEmployer(getEmployer());
customerDto.setSpouseName(getSpouse());
return customerDto;
}
나는 알아낼 수없는 오전을 방법은 pointcut에서 StringEditID를보고 조언에있는 값을 인쇄하는 방법입니다.
나는 당신이 뭘 하려는지 모르겠습니다. getCustomer가 실행될 때마다 조언을 실행하려고합니까? –