/*
 * Copyright (C) 2013 StarTIC
 */
package com.bq.oss.lib.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * Importing this Spring configuration activates the standard SilkRoad configuration mechanism:
 *
 * - First load properties in classpath:${conf.namespace}/defaults.properties<br />
 * - Then load properties in classpath:environment.properties<br />
 * - Local system properties override configuration in files<br />
 *
 * @author Alexander De Leon
 *
 */
@Configuration
@PropertySource(value = "classpath:${conf.namespace}/defaults.properties")
@PropertySource(value = "classpath:/environment.properties", ignoreResourceNotFound = true)
@PropertySource(value = "classpath:${conf.namespace}/version.properties", ignoreResourceNotFound = true)
public class ConfigurationIoC {

    @Bean
    public static PropertySourcesPlaceholderConfigurer myPropertySourcesPlaceholderConfigurer() {
        PropertySourcesPlaceholderConfigurer placeholderConfigurer = new PropertySourcesPlaceholderConfigurer();
        placeholderConfigurer.setLocalOverride(true);
        placeholderConfigurer.setNullValue("@null");
        return placeholderConfigurer;
    }

}
@@ -425,18 +425,32 @@
 :%0A *%0A * 
-- 
+%3Cul%3E%0A *     %3Cli%3E
 First lo
@@ -514,27 +514,32 @@
 perties%3C
-br /
+/li
 %3E%0A * 
--
  
+   %3Cli%3E
 Then loa
@@ -591,19 +591,31 @@
 ies%3C
-br /%3E%0A * - 
+/li%3E%0A * %3C/ul%3E%0A *%0A * %3Cp%3E
 Loca
@@ -670,12 +670,10 @@
 les%3C
-br 
 /
+p
 %3E%0A *

Resolve javadocs problems.