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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setClassLoader​(java.lang.ClassLoader classLoader)
      This method is called by the ApplicationContext that loads the Grails application.
    • Method Detail

      • setClassLoader

        void setClassLoader​(java.lang.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