Addison Wesley - Eclipse AspectJ - Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools
Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools
Table of Contents
Copyright
The Eclipse Series
Titles in the Eclipse Series
Acknowledgments
About the Authors
Preface
References
Introduction
Intended Audience
From Requirements to Code
How Does AOP Work?
Enriching the Programmer's Vocabulary
Summary
How the Rest of This Book Is Organized
Part 1: Introducing Eclipse, AspectJ, and AJDT
Chapter 1. Getting Started
Section 1.1. What is Eclipse?
Section 1.2. Installing Eclipse
Section 1.3. Eclipse Basics
Section 1.4. Installing AJDT
Section 1.5. Examples for This Book
Section 1.6. Summary
Chapter 2. First Steps in AJDT
Section 2.1. A Simple Insurance Application
Section 2.2. Tracking Policy Updates
Section 2.3. Creating an AspectJ Project
Section 2.4. Creating the PolicyChangeNotification Aspect
Section 2.5. Stating the Notification Policy
Section 2.6. Implementing the Notification Policy
Section 2.7. Showing Advice in AJDT
Section 2.8. Evaluating the Implementation
Section 2.9. Finishing Touches
Section 2.10. Summary
Chapter 3. Extending the Application
Section 3.1. The Story So Far
Section 3.2. Serialization-Based Persistence
Section 3.3. Hibernating
Section 3.4. Managing Build Configurations
Section 3.5. Summary
Chapter 4. More AJDT
Section 4.1. Building an ASPECTJ Project
Section 4.2. Debugging
Section 4.3. Editor Templates and the Outline View Toolbar
Section 4.4. Generating Documentation (Ajdoc)
Section 4.5. AspectJ Help, Examples, and Cheat Sheets
Section 4.6. Summary
Part 2: The AspectJ Language
Chapter 5. An Overview of AspectJ
Section 5.1. What Is An Aspect?
Section 5.2. Join Points and Pointcuts
Section 5.3. Advice
Section 5.4. Inter-Type Declarations
Section 5.5. Key Design Properties of the AspectJ Language
Section 5.6. Summary
References
Chapter 6. Straight to the Point
Section 6.1. The Calculator Program
Section 6.2. Introduction to Pointcut Designators
Section 6.3. The Method Call Pointcut Designator
Section 6.4. Pointcut Composition
Section 6.5. Patterns and Signatures
Section 6.6. The Method Execution Pointcut Designator
Section 6.7. The Target Pointcut Designator
Section 6.8. The this Pointcut Designator
Section 6.9. The get and set Pointcut Designators
Section 6.10. Capturing Context with the args Pointcut Designator
Section 6.11. Extracting Values with this and target
Section 6.12. The handler Pointcut Designator
Section 6.13. Initialization Pointcut Designators
Section 6.14. Static Scoping Pointcut Designators: within, withincode
Section 6.15. Dynamic Scoping Pointcut Designators: cflow, cflowbelow
Section 6.16. The adviceexecution Pointcut Designator
Section 6.17. The if Pointcut Designator
Section 6.18. How to Write a Good Pointcut
Section 6.19. Common Pitfalls
Section 6.20. Summary
Chapter 7. Take My Advice
Section 7.1. The Different Types of Advice
Section 7.2. Advice Parameters and Pointcuts
Section 7.3. Writing Logic in the Body of Advice
Section 7.4. Advice Ordering
Section 7.5. Softening Exceptions
Section 7.6. declare warning and declare error
Section 7.7. Common Pitfalls
Section 7.8. Summary
References
Chapter 8. Inter-Type Declarations
Section 8.1. Fields, Methods, and Constructors
Section 8.2. Scope and Visibility
Section 8.3. Inter-Type Declarations and Interfaces
Section 8.4. Extending Classes
Section 8.5. Using Pointcuts and Advice with Inter-Type Declarations
Section 8.6. Summary
Chapter 9. Aspects
Section 9.1. Aspect Definition and Initialization
Section 9.2. Aspect Instantiation
Section 9.3. Aspect Inheritance
Section 9.4. Inner Aspects
Section 9.5. Aspect Privilege
Section 9.6. Common Pitfalls
Section 9.7. Summary
Chapter 10. Using the AspectJ API
Section 10.1. Package org.aspectj.lang
Section 10.2. Package org.aspectj.lang.reflect
Section 10.3. Summary
Part 3: Putting It All Together
Chapter 11. Adopting AspectJ
Section 11.1. The Adoption Process
Section 11.2. Different Types of Aspects
Section 11.3. Enforcement Aspect Examples
Section 11.4. Infrastructure Aspect Examples
Section 11.5. Core Aspect Examples
Section 11.6. Evaluating the Simple Insurance Application
Section 11.7. Summary
References
Chapter 12. Advanced AJDT
Section 12.1. Aspect Libraries
Section 12.2. Linking Aspects with Compiled .class Files
Section 12.3. Ant Integration
Section 12.4. Aspect Visualization
Section 12.5. Summary
Chapter 13. Aspect-Oriented Design
Section 13.1. Finding Aspects
Section 13.2. What Makes a Good Aspect?
Section 13.3. Closing Thoughts
Appendix A. Command-Line AspectJ
Section A.1. Installing AspectJ
Section A.2. Using the Compiler
Section A.3. Building with Ant
Appendix B. AspectJ Language Quick Reference
Section B.1. Aspect Declaration
Section B.2. Pointcuts
Section B.3. Wildcards
Section B.4. Advice
Section B.5. Inter-Type Declarations
Appendix C. Next Steps
Section C.1. Mailing Lists and FAQ
Section C.2. Raising Bugs and Enhancement Requests
Section C.3. Contributing to the Development of AspectJ and AJDT
Appendix D. AJDT Icons Reference
Section D.1. Objects
Section D.2. Object Adornments
Section D.3. Markers
Section D.4. Build Configuration
Index
SYMBOL
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Womens Sweaters
Plus Size Skirts
Tall Womens Clothing