use current classloader to get the proxied repository
This commit is contained in:
committed by
Michael Minella
parent
7be035cd3d
commit
77be8b97b4
@@ -201,7 +201,7 @@ public abstract class AbstractJobRepositoryFactoryBean implements FactoryBean<Jo
|
||||
if (proxyFactory == null) {
|
||||
afterPropertiesSet();
|
||||
}
|
||||
return (JobRepository) proxyFactory.getProxy();
|
||||
return (JobRepository) proxyFactory.getProxy(getClass().getClassLoader());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user