說明:
Spring AOP (Aspect-Oriented Programming)
如果沒用過AOP的人來說,這有許多抽象術語名詞,
真的難以理解,
如果用Aspect-Oriented Programming字面解釋
Aspect: 多方面,外觀,方面,方向
PG Levin Li 發表在 痞客邦 留言(0) 人氣()
Spring Hello World Example 專案 之 AOP Before
本範例實作說明:
本篇主要使用 Spring Framework AOP (Aspect Oriented Programming)
,做一個基本測試專案,
本例有使用到 Spring Bean 、 ProxyFactoryBean 、MethodBeforeAdvice。
用簡單的程式,來實作。
功能需求: 在顯示 Hello World 的方法前 加入 呼叫方法的訊息。
PG Levin Li 發表在 痞客邦 留言(0) 人氣()