- 객체생성
<bean id = "target" class="spring.aop.entity.NewlecExam" p:kor="1" p:eng="2/>
- 부작업(advice) 세팅
<bean id="logBeforeAdvice" class="spring.aop.advice.LogbeforeAdvice" />
- Proxy 생성 : 리스트에 추가
<bean id="proxy" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="target" ret="target"/>
<property name="interceptorNames">
<list>
<value>logAroundAdvice</value>
<value>logBeforeAdvice</value>
</list>
</property>
</bean>
- LogBeforeAdvice.class

Implements 는 MethodBeforeAdvice를 받음
Around Advice와는 다르게 Before에 실행될 구문만 작성하면됨. Proxy 세팅 필요없음