We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在现有的Advice中获取ClassLoader非常麻烦,必须
final Class<?> classOfHttpServletResponse = advice.getBehavior() .getDeclaringClass() .getClassLoader() .loadClass("javax.servlet.http.HttpServletResponse");
但ClassLoader一直都在,所以希望Advice能Release出获取ClassLoader的方法
The text was updated successfully, but these errors were encountered:
直接在 Advice 对象添加这个方法,可以不?
/** * 获取目标对象的类加载器 * * @return 目标对象的类加载器 */ public ClassLoader getTargetClassLoader() { return behavior.getDeclaringClass().getClassLoader(); }
Sorry, something went wrong.
1.2.2版本解决
oldmanpushcart
No branches or pull requests
在现有的Advice中获取ClassLoader非常麻烦,必须
但ClassLoader一直都在,所以希望Advice能Release出获取ClassLoader的方法
The text was updated successfully, but these errors were encountered: