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