Changeset 1769
- Timestamp:
- 02/24/12 14:32:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/Configuration.java
r1680 r1769 10 10 import java.util.List; 11 11 import java.util.Map; 12 import org.slf4j.Logger; 13 import org.slf4j.LoggerFactory; 12 14 13 15 /** … … 16 18 */ 17 19 public class Configuration { 20 21 private static Logger LOG = LoggerFactory.getLogger(Configuration.class); 18 22 //NOTE: Default values, can be overwritten in applicationContext.xml 19 20 23 private String generalComponentSchema = "http://www.clarin.eu/cmd/general-component-schema.xsd"; 21 24 private String component2SchemaXsl = "http://www.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl";//"http://www.clarin.eu/cmd/comp2schema.xsl"; … … 72 75 73 76 public void setAdminUsers(Collection<String> adminUsers) { 77 LOG.debug("Setting adminUsers to {}", Arrays.toString(adminUsers.toArray())); 74 78 this.adminUsers = adminUsers; 75 79 } … … 80 84 */ 81 85 public void setAdminUsersList(String adminUsersList) { 86 LOG.debug("Setting adminUsersList to {}", adminUsersList); 82 87 String[] adminUsersArray = adminUsersList.trim().split("\\s+"); 83 88 setAdminUsers(Arrays.asList(adminUsersArray)); … … 85 90 86 91 public void setComponent2SchemaXsl(String component2SchemaXsl) { 92 LOG.debug("Setting component2SchemaXsl to {}", component2SchemaXsl); 87 93 this.component2SchemaXsl = component2SchemaXsl; 88 94 } 89 95 90 96 public void setComponentSpecSchemaLocation(String componentSpecSchemaLocation) { 97 LOG.debug("Setting componentSpecSchemaLocation to {}", componentSpecSchemaLocation); 91 98 schemaLocations.put(CMDComponentSpec.class.getName(), componentSpecSchemaLocation); 92 99 } 93 100 94 101 public void setDisplayNameShibbolethKeys(List<String> displayNameShibbolethKeys) { 102 LOG.debug("Setting displayNameShibbolethKeys to {}", displayNameShibbolethKeys); 95 103 this.displayNameShibbolethKeys = displayNameShibbolethKeys; 96 104 } 97 105 98 106 public void setGeneralComponentSchema(String generalComponentSchema) { 107 LOG.debug("Setting generalComponentSchema to {}", generalComponentSchema); 99 108 this.generalComponentSchema = generalComponentSchema; 100 109 } 101 110 102 111 public void setIsocatRestUrl(String isocatRestUrl) { 112 LOG.debug("Setting isocatRestUrl to {}", isocatRestUrl); 103 113 this.isocatRestUrl = isocatRestUrl; 104 114 }
Note: See TracChangeset
for help on using the changeset viewer.