Extending Advice Activation in AspectS

AspectS provides a mechanism called activation blocks as a means to control the invocation of advice code at instrumented join-point shadows. We describe all steps necessary to utilize this device to adapt the AspectS framework to new situations and to carry out experiments with new composition properties. As an example, we exercise this recipe to make advice code processaware, emphasizing the flexibility AspectS gained from taking a framework approach to AOP.