public interface ClassLoaderAware extends Aware
Convenience interface that can be implemented by classes that are registered by plugins.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
setClassLoader(ClassLoader classLoader) This method is called by the ApplicationContext that loads the Grails application. |
This method is called by the ApplicationContext that loads the Grails application. The ClassLoader that loads the Grails application code is injected.
classLoader
- the ClassLoader that loads the Grails application code