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 Type
    Method
    Description
    void
    This method is called by the ApplicationContext that loads the Grails application.
  • Method Details

    • setClassLoader

      void setClassLoader(ClassLoader classLoader)
      This method is called by the ApplicationContext that loads the Grails application. The ClassLoader that loads the Grails application code is injected.
      Parameters:
      classLoader - the ClassLoader that loads the Grails application code