Interceptor (design pattern)

from Wikipedia, the free encyclopedia

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

Interceptor.VSD Example.png

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