Interceptor (design pattern)
Interceptor is a design pattern from the field of software development for expanding a framework or middleware without changing it yourself. It falls into the category of behavioral patterns (Engl. Behavioral design patterns ).
example
Component A calls component B in the framework (green arrow). By using an interceptor (blue), the process when component B is called by component A can be expanded to include the functionality of component C.
See also
literature
Douglas C. Schmidt, Michael Stal, Hans Rohnert, Frank Buschmann: Pattern-oriented Software Architecture 2 - Pattern for Concurrent and Networked Objects . Wiley, Chichester 2000, ISBN 0-471-60695-2 .
Web links
- Michael Eichberg: The Interceptor Architectural Pattern at http://stg-tud.github.io/ (TU Darmstadt) (PDF file, 4.9 MB, English)