diff options
author | Anatoliy Sablin | 2017-11-06 17:18:37 +0300 |
---|---|---|
committer | Anatoliy Sablin | 2017-11-06 17:18:37 +0300 |
commit | 7aadceb924c1b22351df5e0535a03edceb5047cf (patch) | |
tree | 4f7a1f611df7b996314142270f1858f0164f9d08 /juick-commands/src/main/java/com | |
parent | aec013888a71856b4ec5a3415c266cd07c0ba5c4 (diff) |
Fixed configurations.juick-commands
Diffstat (limited to 'juick-commands/src/main/java/com')
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java | 3 | ||||
-rw-r--r-- | juick-commands/src/main/java/com/juick/command/Processor.java | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java b/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java index b6b9ea0d..a8f66653 100644 --- a/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java +++ b/juick-commands/src/main/java/com/juick/command/CommandsConfiguration.java @@ -1,8 +1,10 @@ package com.juick.command; +import com.juick.configuration.DataConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Import; import java.util.Set; @@ -10,6 +12,7 @@ import java.util.Set; * @author ma1uta */ @Configuration +@Import(DataConfiguration.class) @ComponentScan(basePackages = {"com.juick.command"}) public class CommandsConfiguration { diff --git a/juick-commands/src/main/java/com/juick/command/Processor.java b/juick-commands/src/main/java/com/juick/command/Processor.java index bf46a758..f02e7c4b 100644 --- a/juick-commands/src/main/java/com/juick/command/Processor.java +++ b/juick-commands/src/main/java/com/juick/command/Processor.java @@ -6,7 +6,6 @@ import lombok.Setter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; import java.util.Set; import java.util.regex.Pattern; @@ -14,7 +13,6 @@ import java.util.regex.Pattern; /** * @author ma1uta */ -@Component @Getter public class Processor { |