@groovy.transform.CompileStatic class ServletEnvironmentGrailsApplicationDiscoveryStrategy extends java.lang.Object implements GrailsApplicationDiscoveryStrategy
Strategy for discovering the GrailsApplication and ApplicationContext instances in the Servlet environment
Modifiers | Name | Description |
---|---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
|
private javax.servlet.ServletContext |
servletContext |
Type | Name and description |
---|---|
org.springframework.context.ApplicationContext |
applicationContext |
javax.servlet.ServletContext |
servletContext |
Constructor and description |
---|
ServletEnvironmentGrailsApplicationDiscoveryStrategy
(javax.servlet.ServletContext servletContext, org.springframework.context.ApplicationContext applicationContext) |
Type Params | Return Type | Name and description |
---|---|---|
|
org.springframework.context.ApplicationContext |
findApplicationContext() |
|
GrailsApplication |
findGrailsApplication() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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