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