@groovy.util.logging.Commons class GrailsDomainClassCleaner extends java.lang.Object
Clears static Grails "instance api" instances from domain classes when ApplicationContext's ContextClosedEvent is received.
| Modifiers | Name | Description | 
|---|---|---|
| protected org.springframework.context.ApplicationContext | applicationContext | |
| protected GrailsApplication | grailsApplication | 
| Constructor and description | 
|---|
| GrailsDomainClassCleaner
                                (GrailsApplication grailsApplication) | 
| Type | Name and description | 
|---|---|
| protected java.lang.Object | clearAllStaticApiInstances() | 
| protected java.lang.Object | clearStaticApiInstances(java.lang.Class clazz) | 
| void | onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) | 
| protected java.lang.Object | removeDomainClassMetaClasses() | 
| void | setApplicationContext(org.springframework.context.ApplicationContext applicationContext) | 
| Methods inherited from class | Name | 
|---|---|
| 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() |