<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://soft.vub.ac.be/ajtraining/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://soft.vub.ac.be/ajtraining/feed.php">
        <title>AspectJ 5 Training - tracing</title>
        <description></description>
        <link>http://soft.vub.ac.be/ajtraining/</link>
        <image rdf:resource="http://soft.vub.ac.be/ajtraining/_media/wiki:dokuwiki-128.png" />
       <dc:date>2026-05-22T16:49:01+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://soft.vub.ac.be/ajtraining/tracing:ex1?rev=1612529730&amp;do=diff"/>
                <rdf:li rdf:resource="http://soft.vub.ac.be/ajtraining/tracing:ex2?rev=1612529736&amp;do=diff"/>
                <rdf:li rdf:resource="http://soft.vub.ac.be/ajtraining/tracing:ex3?rev=1612529748&amp;do=diff"/>
                <rdf:li rdf:resource="http://soft.vub.ac.be/ajtraining/tracing:intro?rev=1612529755&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://soft.vub.ac.be/ajtraining/_media/wiki:dokuwiki-128.png">
        <title>AspectJ 5 Training</title>
        <link>http://soft.vub.ac.be/ajtraining/</link>
        <url>http://soft.vub.ac.be/ajtraining/_media/wiki:dokuwiki-128.png</url>
    </image>
    <item rdf:about="http://soft.vub.ac.be/ajtraining/tracing:ex1?rev=1612529730&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-05T12:55:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ex1</title>
        <link>http://soft.vub.ac.be/ajtraining/tracing:ex1?rev=1612529730&amp;do=diff</link>
        <description>Intro
Ex1
Ex2
Ex3

Tracing: Simple output

Task: Pass the suite tests.SimpleTraceOutput.

Write an aspect to log the execution of all public methods in the figures package (not its subpackages). Write a message into the log panel with the static write(String) method from the</description>
    </item>
    <item rdf:about="http://soft.vub.ac.be/ajtraining/tracing:ex2?rev=1612529736&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-05T12:55:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ex2</title>
        <link>http://soft.vub.ac.be/ajtraining/tracing:ex2?rev=1612529736&amp;do=diff</link>
        <description>Intro
Ex1
Ex2
Ex3

Tracing: Exposing the receiver

Task: Pass the suite tests.ReceiverTraceOutput.

Write a similar aspect to log the execution of all public methods in the figures package. This time, include the string representation of the receiver as well as the join point. The log lines should follow this pattern:</description>
    </item>
    <item rdf:about="http://soft.vub.ac.be/ajtraining/tracing:ex3?rev=1612529748&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-05T12:55:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ex3</title>
        <link>http://soft.vub.ac.be/ajtraining/tracing:ex3?rev=1612529748&amp;do=diff</link>
        <description>Intro
Ex1
Ex2
Ex3

Context: Points in groups

Specialized tracing

Task: Pass the suite tests.PointGroupLog.

Write an aspect to log whenever a Point is added to a Group. Note that this requires a dynamic instanceof test, because in principle any figure element can be added to a group. The log message should simply be:</description>
    </item>
    <item rdf:about="http://soft.vub.ac.be/ajtraining/tracing:intro?rev=1612529755&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-05T12:55:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>intro</title>
        <link>http://soft.vub.ac.be/ajtraining/tracing:intro?rev=1612529755&amp;do=diff</link>
        <description>Intro
Ex1
Ex2
Ex3

Tracing: Intro

Tracing and logging is the “Hello world” of aspect-oriented programming. In these exercises, we will develop some tracing behavior using aspects.

Set-up &amp; Running

You can reuse the AspectJ project with the figure editor application you have created during the previous track. If you haven&#039;t got such a project yet, consult the</description>
    </item>
</rdf:RDF>
