net.sf.doolin.context.util
Class ContextUtils
java.lang.Object
net.sf.doolin.context.util.ContextUtils
public class ContextUtils
- extends Object
Utilities for dealing with Spring context.
- Author:
- Damien Coraboeuf
|
Field Summary |
static String |
VALIDATION
System property (Context.validate) that enables or not the
validation. |
|
Method Summary |
static org.springframework.context.ApplicationContext |
load(String... contextPaths)
Loads an application context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATION
public static final String VALIDATION
- System property (
Context.validate) that enables or not the
validation. By default, the validation is disabled.
- See Also:
- Constant Field Values
load
public static org.springframework.context.ApplicationContext load(String... contextPaths)
- Loads an application context.
- Parameters:
contextPaths - List of context to load
- Returns:
- Application context
- See Also:
ClassPathXmlApplicationContext.ClassPathXmlApplicationContext(String[])
Copyright © 2011. All Rights Reserved.