Merged DEV\EXTENSIONS to HEAD

svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4868 svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4869 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4904 svn://svn.alfresco.com:3691/alfresco/BRANCHES/DEV/EXTENSIONS@4938 .
   Module management support
   Modularization of Records Management


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-01-29 14:43:37 +00:00
parent 36ca40d78d
commit d232397358

View File

@@ -34,15 +34,25 @@ import org.springframework.context.ApplicationContextAware;
*/
public class WebClientConfigBootstrap implements ApplicationContextAware
{
/** The application context */
private ApplicationContext applicationContext;
/** List of configs */
private List<String> configs;
/**
* Set the configs
*
* @param configs the configs
*/
public void setConfigs(List<String> configs)
{
this.configs = configs;
}
/**
* Initialisation method
*/
public void init()
{
if (this.applicationContext.containsBean("webClientConfigService") == true)
@@ -50,16 +60,10 @@ public class WebClientConfigBootstrap implements ApplicationContextAware
ConfigService configService = (ConfigService)this.applicationContext.getBean("webClientConfigService");
if (configService != null && this.configs != null && this.configs.size() != 0)
{
System.out.println("****************************************");
UrlConfigSource configSource = new UrlConfigSource(this.configs);
configService.appendConfig(configSource);
}
}
else
{
System.out.println("$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
}
}
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException