Chapter 9. Keeping Extensions Separate with Pointcuts

Extension use cases are a special kind of use case that allows you to keep additional functionality separate from an existing use case. The realization of extension use cases requires additional behavior to be defined into existing operations. This is often intrusive with traditional techniques. Through aspects, use-case slices keep these operation extensions separate from the existing operations. They are subsequently executed at designated points specified by pointcuts during compilation or execution. Pointcuts are parameterizable, which allows you to apply the same extensions on multiple points at once. This parameterization capability can also be used in conjunction with templating to address ...

Get Aspect-Oriented Software Development with Use Cases now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.