| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "../xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| <link rel="stylesheet" type="text/css" href="../css/ot.css" /> |
| <link rel="stylesheet" type="text/css" href="../css/otjld.css" /> |
| <title>OT/J Language Definition v1.3.1</title> |
| </head> |
| <body class="otdt"> |
| <div id="content"> |
| <table class="nav"> |
| <tr> |
| <td class="back"><a id="top"></a><a href="s7.html" rel="prev"><< §7 Role Encapsulation</a></td> |
| <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| <td class="next"><a href="s9.html" rel="next">§9 Value Dependent Classes >></a></td> |
| </tr> |
| </table> |
| <div class="chapter" id="s8"> |
| <div class="headl"> |
| <div class="headr"> |
| <h1>§8 Join Point Queries</h1> |
| </div> |
| </div> |
| <div id="toc-box"> |
| <ul class="toc-box"> |
| <li><a href="s8.html">§8 Join Point Queries</a></li> |
| <li><a href="#s8.1">§8.1 Join point queries</a></li> |
| <li><a href="#s8.2">§8.2 Query expressions</a></li> |
| <li><a href="#s8.3">§8.3 OT/J meta model</a></li> |
| </ul> |
| </div> |
| <div class="intro"> |
| <h3>Defining sets of join points for interception</h3> |
| <div class="line"></div> |
| <div class="term">join point</div> |
| <div class="termdesc">In OT/J a join point is considered to be an element |
| of the program. A meta model exists which defines the <strong>kinds</strong> |
| of join points that can be identified. |
| </div> |
| <div class="line"></div> |
| <div class="term">join point interception</div> |
| <div class="termdesc">The purpose of identifying join points is to intercept program execution at these points |
| by means of <em>callin</em> bindings. |
| </div> |
| <div class="line"></div> |
| <div class="term">join point query</div> |
| <div class="termdesc">Sets of join points are defined using functional queries of the program's reflective representation.</div> |
| <div class="line"></div> |
| <div class="term"><i>pointcuts</i></div> |
| <div class="termdesc">Dynamic "pointcuts" comparable to AspectJ's <code>cflow</code> or even the Trace-Matches approach |
| are not subject to the join point language of OT/J. These features will be added at a different level |
| of abstraction. Note, that guard predicates (<a href="s5.html#s5.4" title="§5.4 Guard predicates" class="sect">§5.4</a>) subsume the dynamic |
| capabilities of the pointcuts <code>if, target, this, args</code>. |
| </div> |
| <div class="line"></div> |
| </div> |
| <div class="sect depth2" id="s8.1"> |
| <h2 class="sect">§8.1 Join point queries<a class="img" href="s8.html#s8.1" |
| title="PermaLink to §8.1 Join point queries"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png" |
| alt="" /></a><span class="toplink"><a href="#top">↑ §8</a></span></h2> |
| <p><strong><em>This section will describe the query language used to define sets |
| of join points. As of version 1.4.0 of the OTDT this query language is not yet supported.</em></strong></p> |
| </div> |
| <div class="sect depth2" id="s8.2"> |
| <h2 class="sect">§8.2 Query expressions<a class="img" href="s8.html#s8.2" |
| title="PermaLink to §8.2 Query expressions"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png" |
| alt="" /></a><span class="toplink"><a href="#top">↑ §8</a></span></h2> |
| </div> |
| <div class="sect depth2" id="s8.3"> |
| <h2 class="sect">§8.3 OT/J meta model<a class="img" href="s8.html#s8.3" |
| title="PermaLink to §8.3 OT/J meta model"><img style="vertical-align:text-top;margin-left:5px;" src="../images/permalink.png" |
| alt="" /></a><span class="toplink"><a href="#top">↑ §8</a></span></h2> |
| </div> |
| </div> |
| <table class="nav"> |
| <tr> |
| <td class="back"><a href="s7.html" rel="prev"><< §7 Role Encapsulation</a></td> |
| <td class="top"><a href="index.html" rel="contents">↑ Table of Contents ↑</a></td> |
| <td class="next"><a href="s9.html" rel="next">§9 Value Dependent Classes >></a></td> |
| </tr> |
| </table> |
| </div> |
| <div id="footer"> |
| <hr /><a class="w3c img" href="http://jigsaw.w3.org/css-validator/check/referer" |
| shape="rect"><img src="../images/valid-css2-blue.png" alt="Valid CSS!" height="31" width="88" /></a><a class="w3c img" href="http://validator.w3.org/check?uri=referer" shape="rect"><img src="../images/valid-xhtml10-blue.png" alt="Valid XHTML 1.0 Strict" height="31" |
| width="88" /></a><address>© Stephan Herrmann, Christine Hundt, Marco Mosconi</address> |
| OT/J version 1.3.1 — last modified: 2013-05-28 |
| </div> |
| </body> |
| </html> |