Spring AOP ทำงานโดยการรวมถั่วเป้าหมายในออบเจ็กต์พร็อกซีที่สกัดกั้นการเรียกเมธอดและใช้คำแนะนำ Spring จะเลือกระหว่างสองกลยุทธ์พร็อกซีโดยอัตโนมัติ: JDK Dynamic Proxy (ตามอินเทอร์เฟซ) และ CGLIB (ตามคลาสย่อย) การทำความเข้าใจว่าอันไหนใช้ — และเมื่อ — อธิบายพฤติกรรม AOP ที่น่าประหลาดใจบางประการ
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.