Convenience class to autowire test classes
Type | Name and description |
---|---|
org.springframework.context.ApplicationContext |
applicationContext |
Constructor and description |
---|
GrailsTestAutowirer
(org.springframework.context.ApplicationContext applicationContext) |
Type | Name and description |
---|---|
void |
autowire(java.lang.Object bean) Autowires the bean by name, processes any autowiring annotations, and set's the applicationContext if it implements ApplicationContextAware. |
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() |
Groovy Documentation