Changeset 1769


Ignore:
Timestamp:
02/24/12 14:32:43 (12 years ago)
Author:
twagoo
Message:

Debug level logging of configuration value setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/Configuration.java

    r1680 r1769  
    1010import java.util.List;
    1111import java.util.Map;
     12import org.slf4j.Logger;
     13import org.slf4j.LoggerFactory;
    1214
    1315/**
     
    1618 */
    1719public class Configuration {
     20
     21    private static Logger LOG = LoggerFactory.getLogger(Configuration.class);
    1822    //NOTE: Default values, can be overwritten in applicationContext.xml
    19 
    2023    private String generalComponentSchema = "http://www.clarin.eu/cmd/general-component-schema.xsd";
    2124    private String component2SchemaXsl = "http://www.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl";//"http://www.clarin.eu/cmd/comp2schema.xsl";
     
    7275
    7376    public void setAdminUsers(Collection<String> adminUsers) {
     77        LOG.debug("Setting adminUsers to {}", Arrays.toString(adminUsers.toArray()));
    7478        this.adminUsers = adminUsers;
    7579    }
     
    8084     */
    8185    public void setAdminUsersList(String adminUsersList) {
     86        LOG.debug("Setting adminUsersList to {}", adminUsersList);
    8287        String[] adminUsersArray = adminUsersList.trim().split("\\s+");
    8388        setAdminUsers(Arrays.asList(adminUsersArray));
     
    8590
    8691    public void setComponent2SchemaXsl(String component2SchemaXsl) {
     92        LOG.debug("Setting component2SchemaXsl to {}", component2SchemaXsl);
    8793        this.component2SchemaXsl = component2SchemaXsl;
    8894    }
    8995
    9096    public void setComponentSpecSchemaLocation(String componentSpecSchemaLocation) {
     97        LOG.debug("Setting componentSpecSchemaLocation to {}", componentSpecSchemaLocation);
    9198        schemaLocations.put(CMDComponentSpec.class.getName(), componentSpecSchemaLocation);
    9299    }
    93100
    94101    public void setDisplayNameShibbolethKeys(List<String> displayNameShibbolethKeys) {
     102        LOG.debug("Setting displayNameShibbolethKeys to {}", displayNameShibbolethKeys);
    95103        this.displayNameShibbolethKeys = displayNameShibbolethKeys;
    96104    }
    97105
    98106    public void setGeneralComponentSchema(String generalComponentSchema) {
     107        LOG.debug("Setting generalComponentSchema to {}", generalComponentSchema);
    99108        this.generalComponentSchema = generalComponentSchema;
    100109    }
    101110
    102111    public void setIsocatRestUrl(String isocatRestUrl) {
     112        LOG.debug("Setting isocatRestUrl to {}", isocatRestUrl);
    103113        this.isocatRestUrl = isocatRestUrl;
    104114    }
Note: See TracChangeset for help on using the changeset viewer.