blob: de491c0fb7e0f82789446bc070716793e4ad4a8a [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chapter 3. Examples</title><link rel="stylesheet" href="aspectj-docs.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.44"><link rel="home" href="index.html" title="The AspectJTM Programming Guide"><link rel="up" href="index.html" title="The AspectJTM Programming Guide"><link rel="previous" href="language-thisJoinPoint.html" title="thisJoinPoint"><link rel="next" href="examples-howto.html" title="Obtaining, Compiling and Running the Examples"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Examples</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="language-thisJoinPoint.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="examples-howto.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><h2 class="title"><a name="examples"></a>Chapter 3. Examples</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="examples.html#examples-intro">Introduction</a></dt><dt><a href="examples-howto.html">Obtaining, Compiling and Running the Examples</a></dt><dt><a href="examples-basic.html">Basic Techniques</a></dt><dd><dl><dt><a href="examples-basic.html#examples-joinPoints">Join Points and <tt>thisJoinPoint</tt></a></dt><dt><a href="examples-basic.html#examples-roles">Roles and Views</a></dt></dl></dd><dt><a href="examples-development.html">Development Aspects</a></dt><dd><dl><dt><a href="examples-development.html#tracing-using-aspects">Tracing using aspects</a></dt></dl></dd><dt><a href="examples-production.html">Production Aspects</a></dt><dd><dl><dt><a href="examples-production.html#a-bean-aspect">A Bean Aspect</a></dt><dt><a href="examples-production.html#the-subject-observer-protocol">The Subject/Observer Protocol</a></dt><dt><a href="examples-production.html#a-simple-telecom-simulation">A Simple Telecom Simulation</a></dt></dl></dd><dt><a href="examples-reusable.html">Reusable Aspects</a></dt><dd><dl><dt><a href="examples-reusable.html#tracing-using-aspects-revisited">Tracing using Aspects, Revisited</a></dt></dl></dd></dl></div><div class="sect1"><a name="examples-intro"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="examples-intro"></a>Introduction</h2></div></div><p>
This chapter consists entirely of examples of AspectJ use.
</p><p>The examples can be grouped into four categories:</p><table class="simplelist" border="0" summary="Simple list"><tr><td><span class="bold"><b>technique</b></span></td><td>Examples which illustrate how to use one or more features of the
language. </td></tr><tr><td><span class="bold"><b>development</b></span></td><td>Examples of using AspectJ during the development phase of a
project. </td></tr><tr><td><span class="bold"><b>production</b></span></td><td>Examples of using AspectJ to provide functionality in an
application. </td></tr><tr><td><span class="bold"><b>reusable</b></span></td><td>Examples of reuse of aspects and pointcuts.</td></tr></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="language-thisJoinPoint.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="examples-howto.html">Next</a></td></tr><tr><td width="40%" align="left">thisJoinPoint&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right">&nbsp;Obtaining, Compiling and Running the Examples</td></tr></table></div></body></html>