Jump to content

Join point: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Reverted to last edit by Korpo
follow order and name of article elements per MOS:SECTIONORDER
 
(41 intermediate revisions by 34 users not shown)
Line 1: Line 1:
{{Refimprove|date=August 2017}}
In [[computer science]], a '''join point''' is a point in the flow of a [[program]]. In [[aspect-oriented programming]] a [[set]] of join points is described, so that it can be referred to as a [[pointcut]].
In [[computer science]], a '''join point''' is a point in the [[control flow]] of a [[computer program|program]] where the control flow can arrive via two different paths. In particular, it's a [[basic block]] that has more than one [[Glossary of graph theory terms#direct predecessor|predecessor]].<ref>{{Cite book|title=Engineering a compiler|last=Daniel)|first=Cooper, Keith D. (Keith|date=2012|publisher=Elsevier/Morgan Kaufmann|others=Torczon, Linda.|isbn=978-0120884780|edition=2nd|location=Amsterdam|pages=476|oclc=714113472}}</ref> In [[aspect-oriented programming]] a [[set (mathematics)|set]] of join points is called a [[pointcut]]. A join point is a specification of when, in the corresponding main program, the [[Aspect (computer science)|aspect]] code should be executed.

The join point is a point of execution in the base code where the [[Advice (programming)|advice]] specified in a corresponding [[pointcut]] is applied.

== See also ==
*[[AspectJ]], an aspect-oriented extension for the [[Java (programming language)|Java]] [[programming language]]

==References==
{{Reflist}}

{{aosd}}

[[Category:Aspect-oriented software development]]
[[Category:Aspect-oriented programming]]
[[Category:Control flow]]


{{Prog-lang-stub}}

Latest revision as of 01:42, 7 July 2022

In computer science, a join point is a point in the control flow of a program where the control flow can arrive via two different paths. In particular, it's a basic block that has more than one predecessor.[1] In aspect-oriented programming a set of join points is called a pointcut. A join point is a specification of when, in the corresponding main program, the aspect code should be executed.

The join point is a point of execution in the base code where the advice specified in a corresponding pointcut is applied.

See also

[edit]

References

[edit]
  1. ^ Daniel), Cooper, Keith D. (Keith (2012). Engineering a compiler. Torczon, Linda. (2nd ed.). Amsterdam: Elsevier/Morgan Kaufmann. p. 476. ISBN 978-0120884780. OCLC 714113472.{{cite book}}: CS1 maint: multiple names: authors list (link)