Package grails.core.support
Interface ClassLoaderAware
- All Superinterfaces:
org.springframework.beans.factory.Aware
public interface ClassLoaderAware
extends org.springframework.beans.factory.Aware
Convenience interface that can be implemented by classes that are registered by plugins.
- Since:
- 0.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetClassLoader(ClassLoader classLoader) This method is called by theApplicationContextthat loads the Grails application.
-
Method Details
-
setClassLoader
This method is called by theApplicationContextthat loads the Grails application. TheClassLoaderthat loads the Grails application code is injected.- Parameters:
classLoader- theClassLoaderthat loads the Grails application code
-