Visitor Beans: An Aspect-Oriented Pattern

10/1/98


Click here to start


Table of Contents

Visitor Beans: An Aspect-Oriented Pattern

Syllogism Teaser

Context

Motivation

Historical Perspective on Patterns

An AOP Pattern

Grammar For Reflection

Meta-Class Hierarchy

Solution 1: Adding Methods

Solution 2: VISITOR Pattern

VISITOR Coupling

Solution 3: Visitor Beans

Dispatching Visit Calls Using Reflection

VisitEvent

Identifying Aspects

Example 1: Superclass List

Example 2: Class Dependency List

Example 3: Adding Computation

Summary

AOP and Patterns

Weaving and Aspects

The End

Author: David H. Lorenz

Email: [email protected]

Home Page: www.ccs.neu.edu/home/lorenz/