Package org.alfresco.util
Class DataModelTestApplicationContextHelper
java.lang.Object
org.alfresco.util.BaseApplicationContextHelper
org.alfresco.util.DataModelTestApplicationContextHelper
- Author:
- Andy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.alfresco.util.BaseApplicationContextHelper
BaseApplicationContextHelper.ResourceFinder, BaseApplicationContextHelper.VariableFeatureClassPathXmlApplicationContext
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.ApplicationContext
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
-
Field Details
-
CONFIG_LOCATIONS
location of required configuration files
-
-
Constructor Details
-
DataModelTestApplicationContextHelper
public DataModelTestApplicationContextHelper()
-
-
Method Details
-
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
-