Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

h2: Overview

In AspectWerkz aspects are managed by
an aspect container, which is responsible for creating and configuring
the aspects. It also gives you the possiblity of writing your own
custom container implementation. This is convenient when you want to
have full control of how your aspects are instantiated and configured.

This is important when you want the aspects to work together with an IoC (Inversion
Of Control) container such as Spring,
Pico Container or HiveMind.

If you want to write your own container then AspectWerkz provides a convenient
abstract base class, which handles all of the nitty-gritty details. All you have
to do is to extend the
org.codehaus.aspectwerkz.aspect.AbstractAspectContainer class and
implement the Object createAspect() method.

h2: Aspect containers available

  • No labels