java.lang.ObjectConvenience methods for retrieving the root org.springframework.web.context.WebApplicationContext for a givenorg.springframework.web.context.support.WebApplicationContextUtils
ServletContext. This is e.g. useful for accessing a Spring
context from within custom web views or Struts actions.
Note that there are more convenient ways of accessing the root context for many web frameworks, either part of Spring or available as external library. This helper class is just the most generic way to access the root context.
Juergen - Hoeller| Method from org.springframework.web.context.support.WebApplicationContextUtils Summary: |
|---|
| getRequiredWebApplicationContext, getWebApplicationContext, getWebApplicationContext, registerWebApplicationScopes |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.web.context.support.WebApplicationContextUtils Detail: |
|---|
Will rethrow an exception that happened on root context startup, to differentiate between a failed context startup and no context at all. |
Will rethrow an exception that happened on root context startup, to differentiate between a failed context startup and no context at all. |
|
|