|
4 | 4 | import org.slf4j.LoggerFactory; |
5 | 5 | import org.springframework.beans.factory.annotation.Autowired; |
6 | 6 | import org.springframework.stereotype.Component; |
7 | | -import org.springframework.stereotype.Service; |
8 | | -import org.springframework.transaction.annotation.Propagation; |
9 | | -import org.springframework.transaction.annotation.Transactional; |
10 | 7 | import org.woehlke.twitterwall.oodm.entities.*; |
11 | 8 | import org.woehlke.twitterwall.oodm.entities.parts.Entities; |
12 | 9 | import org.woehlke.twitterwall.oodm.service.*; |
13 | | -import org.woehlke.twitterwall.scheduled.service.persist.CreatePersistentMention; |
14 | 10 | import org.woehlke.twitterwall.scheduled.service.persist.CreatePersistentUrl; |
15 | 11 | import org.woehlke.twitterwall.scheduled.service.persist.StoreEntitiesProcess; |
16 | 12 |
|
|
22 | 18 | */ |
23 | 19 |
|
24 | 20 | @Component |
25 | | -//@Service |
26 | | -//@Transactional(propagation = Propagation.REQUIRES_NEW, readOnly = false) |
27 | 21 | public class StoreEntitiesProcessImpl implements StoreEntitiesProcess { |
28 | 22 |
|
29 | 23 | @Override |
@@ -125,17 +119,14 @@ public Entities storeEntitiesProcess(Entities entities, Task task) { |
125 | 119 |
|
126 | 120 | private final CreatePersistentUrl createPersistentUrl; |
127 | 121 |
|
128 | | - private final CreatePersistentMention createPersistentMention; |
129 | | - |
130 | 122 | @Autowired |
131 | | - public StoreEntitiesProcessImpl(UrlService urlService, HashTagService hashTagService, MentionService mentionService, MediaService mediaService, TickerSymbolService tickerSymbolService, CreatePersistentUrl createPersistentUrl, CreatePersistentMention createPersistentMention) { |
| 123 | + public StoreEntitiesProcessImpl(UrlService urlService, HashTagService hashTagService, MentionService mentionService, MediaService mediaService, TickerSymbolService tickerSymbolService, CreatePersistentUrl createPersistentUrl) { |
132 | 124 | this.urlService = urlService; |
133 | 125 | this.hashTagService = hashTagService; |
134 | 126 | this.mentionService = mentionService; |
135 | 127 | this.mediaService = mediaService; |
136 | 128 | this.tickerSymbolService = tickerSymbolService; |
137 | 129 | this.createPersistentUrl = createPersistentUrl; |
138 | | - this.createPersistentMention = createPersistentMention; |
139 | 130 | } |
140 | 131 |
|
141 | 132 | } |
0 commit comments