diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-24 18:01:30 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-03-24 18:48:48 +0100 |
commit | d1c26036280d4513835de01dca1893f652d51413 (patch) | |
tree | 2b8a275baee492b5dcaf523aa42a552f771712f7 /sonar-server | |
parent | de01dbe251f7691a55b0a8720b7260a0e691dcfe (diff) | |
download | sonarqube-d1c26036280d4513835de01dca1893f652d51413.tar.gz sonarqube-d1c26036280d4513835de01dca1893f652d51413.zip |
SONAR-4908 extract RulesDefinitionXmlLoader
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java b/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java index d1125b423cd..e550c817e90 100644 --- a/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java +++ b/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java @@ -31,6 +31,8 @@ import org.sonar.api.resources.Languages; import org.sonar.api.resources.ResourceTypes; import org.sonar.api.rules.AnnotationRuleParser; import org.sonar.api.rules.XMLRuleParser; +import org.sonar.api.server.rule.RulesDefinitionI18nLoader; +import org.sonar.api.server.rule.RulesDefinitionXmlLoader; import org.sonar.api.utils.Durations; import org.sonar.api.utils.HttpDownloader; import org.sonar.api.utils.UriReader; @@ -262,6 +264,8 @@ class ServerComponents { pico.addSingleton(RuleSearchWsHandler.class); pico.addSingleton(AddTagsWsHandler.class); pico.addSingleton(RemoveTagsWsHandler.class); + pico.addSingleton(RulesDefinitionXmlLoader.class); + pico.addSingleton(RulesDefinitionI18nLoader.class); // rule tags pico.addSingleton(ESRuleTags.class); |