Hi,
After trying the IInvokedMethodListener, I decided that using another implementation of the IAnnotationTransformer would be more suitable for my use case:
public void transform(IConfigurationAnnotation annotation, Class testClass, Constructor testConstructor,
Method testMethod)
It allowed me to intercept the configuration methods. In my case I wanted to make sure that in some cases my configuration method should be ignored. It seemed easier to implement that here. I am not sure the IInvokedMethodListener would allow me to disable a method execution.
Again, thanks for your suggetions :)
Baubak