Skip to content

Instantly share code, notes, and snippets.

@recht
Created January 9, 2014 00:07
Show Gist options
  • Save recht/8327135 to your computer and use it in GitHub Desktop.
Save recht/8327135 to your computer and use it in GitHub Desktop.
package com.tradeshift.grails;
public class AutoProxyCreator extends org.codehaus.groovy.grails.aop.framework.autoproxy.GroovyAwareAspectJAwareAdvisorAutoProxyCreator {
@Override
protected boolean shouldSkip(Class beanClass, String beanName) {
if ("classLoader".equals(beanName)) {
return true;
} else {
return super.shouldSkip(beanClass, beanName);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment