mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -34,15 +34,25 @@ import org.springframework.context.ApplicationContextAware;
|
|||||||
*/
|
*/
|
||||||
public class WebClientConfigBootstrap implements ApplicationContextAware
|
public class WebClientConfigBootstrap implements ApplicationContextAware
|
||||||
{
|
{
|
||||||
|
/** The application context */
|
||||||
private ApplicationContext applicationContext;
|
private ApplicationContext applicationContext;
|
||||||
|
|
||||||
|
/** List of configs */
|
||||||
private List<String> configs;
|
private List<String> configs;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the configs
|
||||||
|
*
|
||||||
|
* @param configs the configs
|
||||||
|
*/
|
||||||
public void setConfigs(List<String> configs)
|
public void setConfigs(List<String> configs)
|
||||||
{
|
{
|
||||||
this.configs = configs;
|
this.configs = configs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialisation method
|
||||||
|
*/
|
||||||
public void init()
|
public void init()
|
||||||
{
|
{
|
||||||
if (this.applicationContext.containsBean("webClientConfigService") == true)
|
if (this.applicationContext.containsBean("webClientConfigService") == true)
|
||||||
@@ -50,16 +60,10 @@ public class WebClientConfigBootstrap implements ApplicationContextAware
|
|||||||
ConfigService configService = (ConfigService)this.applicationContext.getBean("webClientConfigService");
|
ConfigService configService = (ConfigService)this.applicationContext.getBean("webClientConfigService");
|
||||||
if (configService != null && this.configs != null && this.configs.size() != 0)
|
if (configService != null && this.configs != null && this.configs.size() != 0)
|
||||||
{
|
{
|
||||||
System.out.println("****************************************");
|
|
||||||
UrlConfigSource configSource = new UrlConfigSource(this.configs);
|
UrlConfigSource configSource = new UrlConfigSource(this.configs);
|
||||||
configService.appendConfig(configSource);
|
configService.appendConfig(configSource);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
System.out.println("$$$$$$$$$$$$$$$$$$$$$$$$$$$$");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
|
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
|
||||||
|
Reference in New Issue
Block a user