if(log.isDebugEnabled()){
log.debug("Configurant contexte del workspace");
}
ApplicationContext applicationContext = ApplicationContext.getInstance();
IPreferenceService preferenceService = (IPreferenceService)applicationContext.getRegisteredComponent(IPreferenceService.class);
/* Configuració del proxy */
String httpProxyHost = preferenceService.getProperty(CoreConstants.PREFERENCES_PROXY_HOST);
if(StringUtils.isNotBlank(httpProxyHost)){
String httpProxyPort = preferenceService.getProperty(CoreConstants.PREFERENCES_PROXY_PORT, CoreConstants.PREFERENCES_HTTP_PROXY_PORT_DEFAULT);
System.setProperty("http.proxyHost", httpProxyHost);
System.setProperty("http.proxyPort", httpProxyPort);
}
/* Es programen les tasques automàtiques configurades en inicialitzar l'aplicació