Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grails#1368 - respect FactoryBean.getObjectType contract, use context…
… classloader where appropriate - DatastoreServiceMethodInvokingFactoryBean.getObjectType returns null if not initialized (i.e. arguments is null, getArguments() returns Object[]). that allows AbstractAutowireCapableBeanFactory to initialize DatastoreServiceMethodInvokingFactoryBean if necessary - AbstractDatastoreInitializer and SoftServiceLoader use the context classloader to load data service classes. this way, autowiring data services by type works reliably with spring boot devtools restart (RestartClassLoader)
- Loading branch information