public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
LoadTimeWeaver weaverToUse = this.loadTimeWeaver;
if (weaverToUse == null && InstrumentationSavingAgent.getInstrumentation() != null) {
weaverToUse = new InstrumentationLoadTimeWeaver();
}
weaverToUse.addTransformer(new AspectJClassBypassingClassFileTransformerDecorator(
new ClassPreProcessorAgentAdapter()));
}
/*
* Potentially temporary way to avoid processing AspectJ classes and avoiding the LinkageError