Package org.alfresco.util
Class DataModelTestApplicationContextHelper
- java.lang.Object
-
- org.alfresco.util.BaseApplicationContextHelper
-
- org.alfresco.util.DataModelTestApplicationContextHelper
-
public class DataModelTestApplicationContextHelper extends BaseApplicationContextHelper
- Author:
- Andy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.util.BaseApplicationContextHelper
BaseApplicationContextHelper.ResourceFinder, BaseApplicationContextHelper.VariableFeatureClassPathXmlApplicationContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
CONFIG_LOCATIONS
location of required configuration files
-
Constructor Summary
Constructors Constructor Description DataModelTestApplicationContextHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.springframework.context.ApplicationContext
getApplicationContext()
Provides a static, single instance of the default Alfresco application context.-
Methods inherited from class org.alfresco.util.BaseApplicationContextHelper
buildClassLoader, closeApplicationContext, getApplicationContext, getApplicationContext, isContextLoaded, isNoAutoStart, isUsingLazyLoading, setNoAutoStart, setUseLazyLoading
-
-
-
-
Method Detail
-
getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext()
Provides a static, single instance of the default Alfresco application context. This method can be called repeatedly. If the configuration requested differs from one used previously, then the previously-created context is shut down.- Returns:
- Returns an application context for the default Alfresco configuration
-
-