public class SpringUtil
extends java.lang.Object
In most cases, SpringUtil.setContext() would have been called by com.liferay.portal.spring.context.PortalContextLoaderListener, configured in web.xml for the web application. However, there will be times in which SpringUtil will be called in a non-web application and, therefore, require manual instantiation of the application context.
| Constructor and Description |
|---|
SpringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
loadContext() |
static void |
loadContext(java.util.List<java.lang.String> extraConfigLocations) |