ClassLoaderAware (Grails 2.3.8)
Date: 2014-04-24

Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.codehaus.groovy.grails.plugins.support.aware
[Java] Interface ClassLoaderAware

    public interface ClassLoaderAware
    extends org.springframework.beans.factory.Aware

Convenience interface that can be implemented by classes that are registered by plugins.

Authors:
  Steven Devijver

Since:
  0.2

Method Summary
`void` | `setClassLoader(java.lang.ClassLoader classLoader)` This method is called by the org.springframework.context.ApplicationContext that loads the Grails application.

Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Method Detail

### setClassLoader

    public void setClassLoader(java.lang.ClassLoader classLoader)

  This method is called by the org.springframework.context.ApplicationContext that loads the Grails application. The java.lang.ClassLoader that loads the Grails application code is injected.
  Parameters:
    `classLoader` - the java.lang.ClassLoader that loads the Grails application code

Groovy Documentation