Pointcut

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In aspect-oriented computer programming, a pointcut is a set of join points.

Execution[edit]

Whenever the program execution reaches one of the join points described in the pointcut, a piece of code associated with the pointcut (called advice) is executed. This allows a programmer to describe where and when additional code should be executed in addition to an already defined behavior. This permits the addition of aspects to existing software, or the design of software with a clear separation of concerns, wherein the programmer weaves (merges) different aspects into a complete application.

External links[edit]