Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Children Display
alltrue

h2: Write How to write your own container

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

...

Code Block
java
java
Object createAspect()

method.

To tell the AspectWerkz system that you want to deploy a specific aspect in your custom oaspect container you have to specifify that in the regular aspect definition file like this:

Code Block
xml
xml

<aspect ... container="my.custom.AspectContainer">
    ...
</aspect>