org.alfresco.util
Class DataModelTestApplicationContextHelper

java.lang.Object
  extended by org.alfresco.util.BaseApplicationContextHelper
      extended by org.alfresco.util.DataModelTestApplicationContextHelper

public class DataModelTestApplicationContextHelper
extends BaseApplicationContextHelper


Nested Class Summary
 
Nested classes/interfaces inherited from class org.alfresco.util.BaseApplicationContextHelper
BaseApplicationContextHelper.VariableFeatureClassPathXmlApplicationContext
 
Field Summary
static java.lang.String[] CONFIG_LOCATIONS
          location of required configuration files
 
Constructor Summary
DataModelTestApplicationContextHelper()
           
 
Method Summary
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
closeApplicationContext, getApplicationContext, isContextLoaded, isNoAutoStart, isUsingLazyLoading, setNoAutoStart, setUseLazyLoading
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_LOCATIONS

public static final java.lang.String[] CONFIG_LOCATIONS
location of required configuration files

Constructor Detail

DataModelTestApplicationContextHelper

public DataModelTestApplicationContextHelper()
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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.