components.xml 26.2 KB
Newer Older
Y
youyong 已提交
1 2
<plexus>
	<components>
F
Frankie Wu 已提交
3
		<component>
4
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
F
Frankie Wu 已提交
5 6 7 8 9
			<role-hint>transaction</role-hint>
			<implementation>com.dianping.cat.consumer.transaction.TransactionAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
10
					<role>com.dianping.cat.report.ReportManager</role>
F
Frankie Wu 已提交
11 12
					<role-hint>transaction</role-hint>
				</requirement>
Y
yong.you 已提交
13
				<requirement>
Y
youyong205 已提交
14
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
15 16
					<role-hint>transaction</role-hint>
				</requirement>
Y
yong.you 已提交
17
				<requirement>
Y
youyong205 已提交
18
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
yong.you 已提交
19
				</requirement>
20 21 22
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
F
Frankie Wu 已提交
23 24 25
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
26
			<role>com.dianping.cat.report.ReportManager</role>
F
Frankie Wu 已提交
27
			<role-hint>transaction</role-hint>
Y
youyong205 已提交
28
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
F
Frankie Wu 已提交
29 30 31
			<configuration>
				<name>transaction</name>
			</configuration>
F
Frankie Wu 已提交
32 33
			<requirements>
				<requirement>
Y
youyong205 已提交
34
					<role>com.dianping.cat.report.ReportDelegate</role>
F
Frankie Wu 已提交
35 36 37
					<role-hint>transaction</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
38
					<role>com.dianping.cat.report.ReportBucketManager</role>
F
Frankie Wu 已提交
39 40
				</requirement>
				<requirement>
Y
yong.you 已提交
41
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
F
Frankie Wu 已提交
42
				</requirement>
43 44 45
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
46
				<requirement>
Y
youyong205 已提交
47
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
48
				</requirement>
F
Frankie Wu 已提交
49 50 51
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
52
			<role>com.dianping.cat.report.ReportDelegate</role>
F
Frankie Wu 已提交
53 54
			<role-hint>transaction</role-hint>
			<implementation>com.dianping.cat.consumer.transaction.TransactionDelegate</implementation>
Y
yong.you 已提交
55 56
			<requirements>
				<requirement>
57
					<role>com.dianping.cat.task.TaskManager</role>
Y
yong.you 已提交
58
				</requirement>
Y
youyong205 已提交
59
				<requirement>
60
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
61
				</requirement>
Y
youyong205 已提交
62 63 64
				<requirement>
					<role>com.dianping.cat.consumer.transaction.AllTransactionConfigManager</role>
				</requirement>
Y
yong.you 已提交
65
			</requirements>
F
Frankie Wu 已提交
66
		</component>
Y
You Yong 已提交
67
		<component>
Y
yong.you 已提交
68 69 70 71
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>event</role-hint>
			<implementation>com.dianping.cat.consumer.event.EventAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
72 73
			<requirements>
				<requirement>
Y
youyong205 已提交
74
					<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
75
					<role-hint>event</role-hint>
76
				</requirement>
Y
youyong205 已提交
77
				<requirement>
Y
youyong205 已提交
78
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
79
				</requirement>
80 81 82
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
83
			</requirements>
Y
youyong 已提交
84 85
		</component>
		<component>
Y
youyong205 已提交
86
			<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
87
			<role-hint>event</role-hint>
Y
youyong205 已提交
88
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
yong.you 已提交
89 90 91
			<configuration>
				<name>event</name>
			</configuration>
Y
youyong 已提交
92
			<requirements>
Y
yong.you 已提交
93
				<requirement>
Y
youyong205 已提交
94
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
95 96
					<role-hint>event</role-hint>
				</requirement>
F
Frankie Wu 已提交
97
				<requirement>
Y
youyong205 已提交
98
					<role>com.dianping.cat.report.ReportBucketManager</role>
F
Frankie Wu 已提交
99
				</requirement>
100
				<requirement>
Y
yong.you 已提交
101
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
102
				</requirement>
103 104 105
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
106
				<requirement>
Y
youyong205 已提交
107
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
108
				</requirement>
Y
yong.you 已提交
109 110 111
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
112
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
113 114 115
			<role-hint>event</role-hint>
			<implementation>com.dianping.cat.consumer.event.EventDelegate</implementation>
			<requirements>
S
sean.wang 已提交
116
				<requirement>
Y
yong.you 已提交
117
					<role>com.dianping.cat.task.TaskManager</role>
S
sean.wang 已提交
118
				</requirement>
Y
youyong205 已提交
119
				<requirement>
120
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
121
				</requirement>
Y
yong.you 已提交
122 123
			</requirements>
		</component>
Y
yong.you 已提交
124 125 126 127 128 129 130
		<component>
			<role>com.dianping.cat.consumer.problem.ProblemHandler</role>
			<role-hint>default-problem</role-hint>
			<implementation>com.dianping.cat.consumer.problem.DefaultProblemHandler</implementation>
			<configuration>
				<errorType>Error,RuntimeException,Exception</errorType>
			</configuration>
Y
youyong205 已提交
131 132
			<requirements>
				<requirement>
Y
youyong205 已提交
133
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
134 135
				</requirement>
			</requirements>
Y
yong.you 已提交
136 137 138 139 140 141 142
		</component>
		<component>
			<role>com.dianping.cat.consumer.problem.ProblemHandler</role>
			<role-hint>long-execution</role-hint>
			<implementation>com.dianping.cat.consumer.problem.LongExecutionProblemHandler</implementation>
			<requirements>
				<requirement>
Y
youyong205 已提交
143
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
yong.you 已提交
144 145 146
				</requirement>
			</requirements>
		</component>
Y
yong.you 已提交
147 148 149 150 151 152 153
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>problem</role-hint>
			<implementation>com.dianping.cat.consumer.problem.ProblemAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
154
					<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
155 156
					<role-hint>problem</role-hint>
				</requirement>
Y
youyong205 已提交
157
				<requirement>
Y
youyong205 已提交
158
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
159
				</requirement>
Y
You Yong 已提交
160
				<requirement>
Y
yong.you 已提交
161
					<role>com.dianping.cat.consumer.problem.ProblemHandler</role>
F
Frankie Wu 已提交
162
					<role-hints>
163 164
						<role-hint>default-problem</role-hint>
						<role-hint>long-execution</role-hint>
F
Frankie Wu 已提交
165 166
					</role-hints>
					<field-name>m_handlers</field-name>
Y
You Yong 已提交
167
				</requirement>
Y
youyong 已提交
168
			</requirements>
Y
youyong 已提交
169
		</component>
F
Frankie Wu 已提交
170
		<component>
Y
youyong205 已提交
171
			<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
172
			<role-hint>problem</role-hint>
Y
youyong205 已提交
173
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
yong.you 已提交
174 175 176
			<configuration>
				<name>problem</name>
			</configuration>
F
Frankie Wu 已提交
177
			<requirements>
Y
yong.you 已提交
178
				<requirement>
Y
youyong205 已提交
179
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
180 181
					<role-hint>problem</role-hint>
				</requirement>
F
Frankie Wu 已提交
182
				<requirement>
Y
youyong205 已提交
183
					<role>com.dianping.cat.report.ReportBucketManager</role>
F
Frankie Wu 已提交
184 185
				</requirement>
				<requirement>
Y
yong.you 已提交
186
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
F
Frankie Wu 已提交
187
				</requirement>
188 189 190
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
191
				<requirement>
Y
youyong205 已提交
192
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
193
				</requirement>
Y
yong.you 已提交
194 195 196
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
197
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
198 199 200
			<role-hint>problem</role-hint>
			<implementation>com.dianping.cat.consumer.problem.ProblemDelegate</implementation>
			<requirements>
S
sean.wang 已提交
201
				<requirement>
Y
yong.you 已提交
202
					<role>com.dianping.cat.task.TaskManager</role>
S
sean.wang 已提交
203
				</requirement>
Y
youyong205 已提交
204
				<requirement>
205
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
206
				</requirement>
F
Frankie Wu 已提交
207 208
			</requirements>
		</component>
Y
youyong 已提交
209
		<component>
210
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
211 212
			<role-hint>heartbeat</role-hint>
			<implementation>com.dianping.cat.consumer.heartbeat.HeartbeatAnalyzer</implementation>
Y
youyong 已提交
213
			<instantiation-strategy>per-lookup</instantiation-strategy>
Y
youyong 已提交
214 215
			<requirements>
				<requirement>
Y
youyong205 已提交
216
					<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
217
					<role-hint>heartbeat</role-hint>
Y
youyong 已提交
218
				</requirement>
Y
youyong205 已提交
219
				<requirement>
Y
youyong205 已提交
220
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
221
				</requirement>
222 223 224
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
Y
yong.you 已提交
225 226 227
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
228
			<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
229
			<role-hint>heartbeat</role-hint>
Y
youyong205 已提交
230
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
yong.you 已提交
231 232 233 234
			<configuration>
				<name>heartbeat</name>
			</configuration>
			<requirements>
Y
youyong 已提交
235
				<requirement>
Y
youyong205 已提交
236
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
237
					<role-hint>heartbeat</role-hint>
Y
youyong 已提交
238
				</requirement>
Y
yong.you 已提交
239
				<requirement>
Y
youyong205 已提交
240
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
yong.you 已提交
241
				</requirement>
Y
youyong 已提交
242
				<requirement>
Y
yong.you 已提交
243
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
Y
youyong 已提交
244
				</requirement>
245 246 247
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
248
				<requirement>
Y
youyong205 已提交
249
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
250
				</requirement>
Y
yong.you 已提交
251 252 253
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
254
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
255 256 257
			<role-hint>heartbeat</role-hint>
			<implementation>com.dianping.cat.consumer.heartbeat.HeartbeatDelegate</implementation>
			<requirements>
Y
youyong 已提交
258
				<requirement>
Y
yong.you 已提交
259
					<role>com.dianping.cat.task.TaskManager</role>
Y
youyong 已提交
260
				</requirement>
Y
youyong205 已提交
261
				<requirement>
262
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
263
				</requirement>
Y
youyong 已提交
264
			</requirements>
Y
youyong 已提交
265
		</component>
F
Frankie Wu 已提交
266
		<component>
267
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
268 269
			<role-hint>top</role-hint>
			<implementation>com.dianping.cat.consumer.top.TopAnalyzer</implementation>
Y
You Yong 已提交
270
			<instantiation-strategy>per-lookup</instantiation-strategy>
Y
youyong205 已提交
271 272 273
			<configuration>
				<errorType>Error,RuntimeException,Exception</errorType>
			</configuration>
Y
You Yong 已提交
274 275
			<requirements>
				<requirement>
Y
youyong205 已提交
276
					<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
277 278
					<role-hint>top</role-hint>
				</requirement>
Y
yong.you 已提交
279
				<requirement>
Y
youyong205 已提交
280
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
yong.you 已提交
281
				</requirement>
282 283 284
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
Y
yong.you 已提交
285 286 287
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
288
			<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
289
			<role-hint>top</role-hint>
Y
youyong205 已提交
290
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
yong.you 已提交
291 292 293 294 295
			<configuration>
				<name>top</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
296
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
297
					<role-hint>top</role-hint>
Y
You Yong 已提交
298 299
				</requirement>
				<requirement>
Y
youyong205 已提交
300
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
You Yong 已提交
301
				</requirement>
S
sean.wang 已提交
302
				<requirement>
Y
yong.you 已提交
303
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
S
sean.wang 已提交
304
				</requirement>
305 306 307
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
308
				<requirement>
Y
youyong205 已提交
309
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
310
				</requirement>
Y
You Yong 已提交
311 312
			</requirements>
		</component>
Y
yong.you 已提交
313
		<component>
Y
youyong205 已提交
314
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
315 316 317
			<role-hint>top</role-hint>
			<implementation>com.dianping.cat.consumer.top.TopDelegate</implementation>
		</component>
F
Frankie Wu 已提交
318
		<component>
319
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
320
			<role-hint>dump</role-hint>
Y
yong.you 已提交
321
			<implementation>com.dianping.cat.consumer.dump.DumpAnalyzer</implementation>
F
Frankie Wu 已提交
322
			<instantiation-strategy>per-lookup</instantiation-strategy>
F
Frankie Wu 已提交
323
			<requirements>
F
Frankie Wu 已提交
324
				<requirement>
325
					<role>com.dianping.cat.statistic.ServerStatisticManager</role>
F
Frankie Wu 已提交
326
				</requirement>
Y
youyong205 已提交
327
				<requirement>
Y
youyong205 已提交
328
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
329
				</requirement>
F
Frankie Wu 已提交
330
				<requirement>
Y
youyong205 已提交
331
					<role>com.dianping.cat.message.storage.MessageBucketManager</role>
F
Frankie Wu 已提交
332
					<role-hint>local</role-hint>
F
Frankie Wu 已提交
333
				</requirement>
S
sean.wang 已提交
334 335
			</requirements>
		</component>
336
		<component>
Y
youyong205 已提交
337
			<role>com.dianping.cat.message.storage.MessageBucketManager</role>
338 339 340 341
			<role-hint>local</role-hint>
			<implementation>com.dianping.cat.consumer.dump.LocalMessageBucketManager</implementation>
			<requirements>
				<requirement>
Y
youyong205 已提交
342
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
343 344
				</requirement>
				<requirement>
Y
youyong205 已提交
345
					<role>com.dianping.cat.message.PathBuilder</role>
346 347 348 349 350
				</requirement>
				<requirement>
					<role>com.dianping.cat.statistic.ServerStatisticManager</role>
				</requirement>
				<requirement>
Y
youyong205 已提交
351
					<role>com.dianping.cat.hadoop.hdfs.HdfsUploader</role>
352 353 354
				</requirement>
			</requirements>
		</component>
L
leon.li 已提交
355
		<component>
Y
youyong205 已提交
356 357
			<role>com.dianping.cat.service.ProjectService</role>
			<implementation>com.dianping.cat.service.ProjectService</implementation>
L
leon.li 已提交
358 359 360 361 362
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.dal.ProjectDao</role>
				</requirement>
				<requirement>
Y
youyong205 已提交
363
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
L
leon.li 已提交
364 365 366
				</requirement>
			</requirements>
		</component>
Y
youyong 已提交
367
		<component>
368
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
369 370
			<role-hint>state</role-hint>
			<implementation>com.dianping.cat.consumer.state.StateAnalyzer</implementation>
Y
youyong 已提交
371 372
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
Y
yong.you 已提交
373
				<requirement>
Y
youyong205 已提交
374
					<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
375 376 377 378 379
					<role-hint>state</role-hint>
				</requirement>
				<requirement>
					<role>com.dianping.cat.statistic.ServerStatisticManager</role>
				</requirement>
Y
youyong205 已提交
380
				<requirement>
Y
youyong205 已提交
381
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
382
				</requirement>
383 384 385
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
Y
yong.you 已提交
386 387 388
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
389
			<role>com.dianping.cat.report.ReportManager</role>
Y
yong.you 已提交
390
			<role-hint>state</role-hint>
Y
youyong205 已提交
391
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
yong.you 已提交
392 393 394 395 396
			<configuration>
				<name>state</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
397
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
398 399
					<role-hint>state</role-hint>
				</requirement>
Y
youyong 已提交
400
				<requirement>
Y
youyong205 已提交
401
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong 已提交
402 403
				</requirement>
				<requirement>
Y
yong.you 已提交
404
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
Y
youyong 已提交
405
				</requirement>
406 407 408
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
409
				<requirement>
Y
youyong205 已提交
410
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
411
				</requirement>
F
Frankie Wu 已提交
412 413
			</requirements>
		</component>
Y
yong.you 已提交
414
		<component>
Y
youyong205 已提交
415
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
yong.you 已提交
416 417
			<role-hint>state</role-hint>
			<implementation>com.dianping.cat.consumer.state.StateDelegate</implementation>
Y
yong.you 已提交
418 419
			<requirements>
				<requirement>
Y
yong.you 已提交
420
					<role>com.dianping.cat.task.TaskManager</role>
Y
yong.you 已提交
421
				</requirement>
Y
youyong205 已提交
422
				<requirement>
Y
youyong205 已提交
423
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong205 已提交
424
				</requirement>
Y
yong.you 已提交
425 426
			</requirements>
		</component>
Y
youyong205 已提交
427 428 429 430 431 432 433 434 435 436 437
		<component>
			<role>com.dianping.cat.consumer.cross.IpConvertManager</role>
			<implementation>com.dianping.cat.consumer.cross.IpConvertManager</implementation>
		</component>
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>cross</role-hint>
			<implementation>com.dianping.cat.consumer.cross.CrossAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
438
					<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
439 440 441
					<role-hint>cross</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
442
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
443 444 445 446 447 448 449
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.cross.IpConvertManager</role>
				</requirement>
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
450
			<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
451
			<role-hint>cross</role-hint>
Y
youyong205 已提交
452
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
youyong205 已提交
453 454 455 456 457
			<configuration>
				<name>cross</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
458
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
459 460 461
					<role-hint>cross</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
462
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong205 已提交
463 464 465 466 467 468 469
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
470
				<requirement>
Y
youyong205 已提交
471
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
472
				</requirement>
Y
youyong205 已提交
473 474 475
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
476
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
477 478 479 480 481 482
			<role-hint>cross</role-hint>
			<implementation>com.dianping.cat.consumer.cross.CrossDelegate</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
Y
youyong205 已提交
483
				<requirement>
484
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
485
				</requirement>
Y
youyong205 已提交
486 487 488 489 490 491 492 493 494
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>matrix</role-hint>
			<implementation>com.dianping.cat.consumer.matrix.MatrixAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
495
					<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
496 497 498
					<role-hint>matrix</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
499
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
500 501 502 503
				</requirement>
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
504
			<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
505
			<role-hint>matrix</role-hint>
Y
youyong205 已提交
506
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
youyong205 已提交
507 508 509 510 511
			<configuration>
				<name>matrix</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
512
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
513 514 515
					<role-hint>matrix</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
516
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong205 已提交
517 518 519 520 521 522 523
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
524
				<requirement>
Y
youyong205 已提交
525
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
526
				</requirement>
Y
youyong205 已提交
527 528 529
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
530
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
531 532 533 534 535 536
			<role-hint>matrix</role-hint>
			<implementation>com.dianping.cat.consumer.matrix.MatrixDelegate</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
Y
youyong205 已提交
537
				<requirement>
538
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
Y
youyong205 已提交
539
				</requirement>
Y
youyong205 已提交
540 541 542 543 544 545 546 547 548 549 550 551 552
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.consumer.dependency.DatabaseParser</role>
			<implementation>com.dianping.cat.consumer.dependency.DatabaseParser</implementation>
		</component>
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>dependency</role-hint>
			<implementation>com.dianping.cat.consumer.dependency.DependencyAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
553
					<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
554 555 556
					<role-hint>dependency</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
557
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
558
				</requirement>
559 560 561
				<requirement>
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
				</requirement>
Y
youyong205 已提交
562 563 564 565 566 567
				<requirement>
					<role>com.dianping.cat.consumer.dependency.DatabaseParser</role>
				</requirement>
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
568
			<role>com.dianping.cat.report.ReportManager</role>
Y
youyong205 已提交
569
			<role-hint>dependency</role-hint>
Y
youyong205 已提交
570
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
Y
youyong205 已提交
571 572 573 574 575
			<configuration>
				<name>dependency</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
576
					<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
577 578 579
					<role-hint>dependency</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
580
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong205 已提交
581 582 583 584 585 586 587
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
588
				<requirement>
Y
youyong205 已提交
589
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
590
				</requirement>
Y
youyong205 已提交
591 592 593
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
594
			<role>com.dianping.cat.report.ReportDelegate</role>
Y
youyong205 已提交
595 596 597 598 599 600 601 602 603 604 605 606 607
			<role-hint>dependency</role-hint>
			<implementation>com.dianping.cat.consumer.dependency.DependencyDelegate</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.config.content.ContentFetcher</role>
			<implementation>com.dianping.cat.config.content.DefaultContentFetcher</implementation>
		</component>
		<component>
Y
youyong205 已提交
608 609
			<role>com.dianping.cat.consumer.config.ProductLineConfigManager</role>
			<implementation>com.dianping.cat.consumer.config.ProductLineConfigManager</implementation>
Y
youyong205 已提交
610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.config.ConfigDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.config.content.ContentFetcher</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.consumer.metric.MetricConfigManager</role>
			<implementation>com.dianping.cat.consumer.metric.MetricConfigManager</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.config.ConfigDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.config.content.ContentFetcher</role>
				</requirement>
Y
youyong205 已提交
629
				<requirement>
Y
youyong205 已提交
630
					<role>com.dianping.cat.consumer.config.ProductLineConfigManager</role>
Y
youyong205 已提交
631
				</requirement>
Y
youyong205 已提交
632 633 634 635 636 637 638 639 640
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>metric</role-hint>
			<implementation>com.dianping.cat.consumer.metric.MetricAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
641
					<role>com.dianping.cat.report.ReportBucketManager</role>
Y
youyong205 已提交
642 643 644 645 646 647 648 649
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.dal.BusinessReportDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.metric.MetricConfigManager</role>
				</requirement>
				<requirement>
Y
youyong205 已提交
650
					<role>com.dianping.cat.consumer.config.ProductLineConfigManager</role>
Y
youyong205 已提交
651 652 653 654
				</requirement>
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
Y
youyong205 已提交
655
				<requirement>
Y
youyong205 已提交
656
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
Y
youyong205 已提交
657
				</requirement>
Y
youyong205 已提交
658 659
			</requirements>
		</component>
660 661 662 663 664 665 666 667
		<component>
			<role>com.dianping.cat.consumer.storage.DatabaseParser</role>
			<implementation>com.dianping.cat.consumer.storage.DatabaseParser</implementation>
		</component>
		<component>
			<role>com.dianping.cat.consumer.storage.StorageReportUpdater</role>
			<implementation>com.dianping.cat.consumer.storage.StorageReportUpdater</implementation>
		</component>
J
jialinsun 已提交
668 669 670 671 672 673 674
		<component>
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
			<role-hint>storage</role-hint>
			<implementation>com.dianping.cat.consumer.storage.StorageAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
youyong205 已提交
675
					<role>com.dianping.cat.report.ReportManager</role>
J
jialinsun 已提交
676 677 678
					<role-hint>storage</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
679
					<role>com.dianping.cat.report.ReportDelegate</role>
J
jialinsun 已提交
680 681 682
					<role-hint>storage</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
683
					<role>com.dianping.cat.config.server.ServerConfigManager</role>
J
jialinsun 已提交
684
				</requirement>
685 686 687 688 689 690
				<requirement>
					<role>com.dianping.cat.consumer.storage.DatabaseParser</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.storage.StorageReportUpdater</role>
				</requirement>
J
jialinsun 已提交
691 692 693
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
694
			<role>com.dianping.cat.report.ReportManager</role>
J
jialinsun 已提交
695
			<role-hint>storage</role-hint>
Y
youyong205 已提交
696
			<implementation>com.dianping.cat.report.DefaultReportManager</implementation>
J
jialinsun 已提交
697 698 699 700 701
			<configuration>
				<name>storage</name>
			</configuration>
			<requirements>
				<requirement>
Y
youyong205 已提交
702
					<role>com.dianping.cat.report.ReportDelegate</role>
J
jialinsun 已提交
703 704 705
					<role-hint>storage</role-hint>
				</requirement>
				<requirement>
Y
youyong205 已提交
706
					<role>com.dianping.cat.report.ReportBucketManager</role>
J
jialinsun 已提交
707 708 709 710 711 712 713
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
youyong205 已提交
714
				<requirement>
Y
youyong205 已提交
715
					<role>com.dianping.cat.report.DomainValidator</role>
Y
youyong205 已提交
716
				</requirement>
J
jialinsun 已提交
717 718 719
			</requirements>
		</component>
		<component>
Y
youyong205 已提交
720
			<role>com.dianping.cat.report.ReportDelegate</role>
J
jialinsun 已提交
721 722 723 724 725 726 727
			<role-hint>storage</role-hint>
			<implementation>com.dianping.cat.consumer.storage.StorageDelegate</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
				<requirement>
728
					<role>com.dianping.cat.config.server.ServerFilterConfigManager</role>
J
jialinsun 已提交
729
				</requirement>
730 731 732
				<requirement>
					<role>com.dianping.cat.consumer.storage.StorageReportUpdater</role>
				</requirement>
J
jialinsun 已提交
733 734
			</requirements>
		</component>
J
jialinsun 已提交
735 736 737 738 739 740 741
		<component>
			<role>org.unidal.dal.jdbc.datasource.JdbcDataSourceDescriptorManager</role>
			<implementation>org.unidal.dal.jdbc.datasource.JdbcDataSourceDescriptorManager</implementation>
			<configuration>
				<datasourceFile>/data/appdatas/cat/datasources.xml</datasourceFile>
			</configuration>
		</component>
Y
youyong205 已提交
742 743 744 745 746 747 748 749 750 751 752 753
		<component>
			<role>com.dianping.cat.consumer.transaction.AllTransactionConfigManager</role>
			<implementation>com.dianping.cat.consumer.transaction.AllTransactionConfigManager</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.config.ConfigDao</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.config.content.ContentFetcher</role>
				</requirement>
			</requirements>
		</component>
754
		<component>
Y
youyong 已提交
755
			<role>org.unidal.initialization.Module</role>
756 757 758
			<role-hint>cat-consumer</role-hint>
			<implementation>com.dianping.cat.consumer.CatConsumerModule</implementation>
		</component>
Y
youyong205 已提交
759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777
		<component>
			<role>org.unidal.dal.jdbc.mapping.TableProvider</role>
			<role-hint>business-report</role-hint>
			<implementation>org.unidal.dal.jdbc.mapping.SimpleTableProvider</implementation>
			<configuration>
				<logical-table-name>business-report</logical-table-name>
				<physical-table-name>businessReport</physical-table-name>
				<data-source-name>cat</data-source-name>
			</configuration>
		</component>
		<component>
			<role>com.dianping.cat.consumer.dal.BusinessReportDao</role>
			<implementation>com.dianping.cat.consumer.dal.BusinessReportDao</implementation>
			<requirements>
				<requirement>
					<role>org.unidal.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
		</component>
Y
youyong 已提交
778 779
	</components>
</plexus>