|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.dragon.util.SpringUtil
public class SpringUtil
An util class to ease Spring integration
| Constructor Summary | |
|---|---|
SpringUtil()
|
|
| Method Summary | |
|---|---|
static org.springframework.web.context.WebApplicationContext |
getWebApplicationContext(javax.servlet.ServletContext sc)
Find the root WebApplicationContext for this web application, which is typically loaded via ContextLoaderListener or ContextLoaderServlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpringUtil()
| Method Detail |
|---|
public static org.springframework.web.context.WebApplicationContext getWebApplicationContext(javax.servlet.ServletContext sc)
Will rethrow an exception that happened on root context startup, to differentiate between a failed context startup and no context at all.
sc - ServletContext to find the web application context for
null if noneWebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||