public class SpringContextUtils extends Object
Utility class for easy access of information stored at the context in a Spring-enabled application (such as the Spring ApplicationContext).
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.context.ApplicationContext |
getApplicationContext(org.thymeleaf.context.ITemplateContext context)
Get the
ApplicationContext from the Thymeleaf template context. |
public static org.springframework.context.ApplicationContext getApplicationContext(org.thymeleaf.context.ITemplateContext context)
Get the ApplicationContext from the Thymeleaf template context.
context - the template contextCopyright © 2017 The THYMELEAF team. All rights reserved.