WW-4110 Adds special flag to use different logic when creating AOP beans