components.xml 16.5 KB
Newer Older
F
Frankie Wu 已提交
1 2
<plexus>
	<components>
F
Frankie Wu 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15
		<component>
			<role>com.dianping.cat.message.spi.MessageConsumerRegistry</role>
			<implementation>com.dianping.cat.message.spi.internal.DefaultMessageConsumerRegistry</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hints>
						<role-hint>realtime</role-hint>
					</role-hints>
					<field-name>m_consumers</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
16 17 18 19 20 21 22 23 24 25 26 27 28
		<component>
			<role>com.dianping.cat.report.graph.ValueTranslater</role>
			<implementation>com.dianping.cat.report.graph.DefaultValueTranslater</implementation>
		</component>
		<component>
			<role>com.dianping.cat.report.graph.GraphBuilder</role>
			<implementation>com.dianping.cat.report.graph.DefaultGraphBuilder</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.graph.ValueTranslater</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
29 30 31
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>transaction-local</role-hint>
F
Frankie Wu 已提交
32
			<implementation>com.dianping.cat.report.page.model.transaction.LocalTransactionService</implementation>
F
Frankie Wu 已提交
33 34 35 36 37 38 39 40 41
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
42 43
			<role-hint>transaction-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.transaction.HistoricalTransactionService</implementation>
44 45 46 47 48
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
49 50 51 52
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>transaction</role-hint>
F
Frankie Wu 已提交
53
			<implementation>com.dianping.cat.report.page.model.transaction.CompositeTransactionService</implementation>
54
			<configuration>
F
Frankie Wu 已提交
55
				<remoteServers></remoteServers>
56
			</configuration>
F
Frankie Wu 已提交
57 58 59 60 61
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>transaction-local</role-hint>
62
						<role-hint>transaction-historical</role-hint>
F
Frankie Wu 已提交
63 64 65 66 67
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.LocalEventService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.HistoricalEventService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>event</role-hint>
			<implementation>com.dianping.cat.report.page.model.event.CompositeEventService</implementation>
			<configuration>
				<remoteServers></remoteServers>
			</configuration>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>event-local</role-hint>
						<role-hint>event-historical</role-hint>
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
107
		<component>
F
Frankie Wu 已提交
108
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
109 110
			<role-hint>problem-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.LocalProblemService</implementation>
F
Frankie Wu 已提交
111 112 113 114 115 116
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
117
		</component>
F
Frankie Wu 已提交
118 119
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
120 121
			<role-hint>problem-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.HistoricalProblemService</implementation>
F
Frankie Wu 已提交
122 123 124 125 126 127
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
128
		<component>
F
Frankie Wu 已提交
129
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
130 131
			<role-hint>problem</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.CompositeProblemService</implementation>
132
			<configuration>
F
Frankie Wu 已提交
133
				<remoteServers></remoteServers>
134
			</configuration>
F
Frankie Wu 已提交
135 136
			<requirements>
				<requirement>
F
Frankie Wu 已提交
137 138
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
F
Frankie Wu 已提交
139
						<role-hint>problem-local</role-hint>
140
						<role-hint>problem-historical</role-hint>
F
Frankie Wu 已提交
141 142
					</role-hints>
					<field-name>m_services</field-name>
F
Frankie Wu 已提交
143 144 145
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>ip-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.ip.LocalIpService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>ip</role-hint>
			<implementation>com.dianping.cat.report.page.model.ip.CompositeIpService</implementation>
161
			<configuration>
F
Frankie Wu 已提交
162
				<remoteServers></remoteServers>
163
			</configuration>
F
Frankie Wu 已提交
164 165 166 167 168 169 170 171 172 173
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>ip-local</role-hint>
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
174 175 176 177 178
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>logview-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.LocalLogViewService</implementation>
			<requirements>
179 180 181 182
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
183 184 185 186 187 188 189
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>html</role-hint>
				</requirement>
F
Frankie Wu 已提交
190 191
			</requirements>
		</component>
F
Frankie Wu 已提交
192 193
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
194 195
			<role-hint>logview-historical</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.HistoricalLogViewService</implementation>
F
Frankie Wu 已提交
196 197 198 199 200 201 202 203 204 205
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>html</role-hint>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
206 207 208 209
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>logview</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.CompositeLogViewService</implementation>
210
			<configuration>
F
Frankie Wu 已提交
211
				<remoteServers></remoteServers>
212
			</configuration>
F
Frankie Wu 已提交
213 214 215 216 217
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>logview-local</role-hint>
218
						<role-hint>logview-historical</role-hint>
F
Frankie Wu 已提交
219 220 221 222 223
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
		<component>
			<role>com.site.web.mvc.model.ModuleRegistry</role>
			<implementation>com.site.web.mvc.model.ModuleRegistry</implementation>
			<configuration>
				<modules>
					<module default="true">com.dianping.cat.report.ReportModule</module>
				</modules>
			</configuration>
		</component>
		<component>
			<role>com.dianping.cat.report.ReportModule</role>
			<implementation>com.dianping.cat.report.ReportModule</implementation>
		</component>
		<component>
			<role>com.dianping.cat.report.page.home.Handler</role>
			<implementation>com.dianping.cat.report.page.home.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.home.JspViewer</role>
				</requirement>
244 245 246 247 248
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_realtimeConsumer</field-name>
				</requirement>
F
Frankie Wu 已提交
249 250 251 252 253 254
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.home.JspViewer</role>
			<implementation>com.dianping.cat.report.page.home.JspViewer</implementation>
		</component>
255 256 257 258 259 260 261 262 263 264 265
		<component>
			<role>com.dianping.cat.consumer.RealtimeConsumer</role>
			<implementation>com.dianping.cat.consumer.RealtimeConsumer</implementation>
			<requirements>
				<requirement>
					<role>org.codehaus.plexus.logging.Logger</role>
				</requirement>
				<requirement>
					<role>java.lang.String</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
266
					<role>java.util.List</role>
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
				</requirement>
				<requirement>
					<role>long</role>
				</requirement>
				<requirement>
					<role>long</role>
				</requirement>
				<requirement>
					<role>int</role>
				</requirement>
				<requirement>
					<role>java.util.List</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.AnalyzerFactory</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
285
		<component>
Y
You Yong 已提交
286 287
			<role>com.dianping.cat.report.page.problem.Handler</role>
			<implementation>com.dianping.cat.report.page.problem.Handler</implementation>
F
Frankie Wu 已提交
288 289
			<requirements>
				<requirement>
Y
You Yong 已提交
290
					<role>com.dianping.cat.report.page.problem.JspViewer</role>
F
Frankie Wu 已提交
291 292
				</requirement>
				<requirement>
F
Frankie Wu 已提交
293
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
Y
You Yong 已提交
294
					<role-hint>problem</role-hint>
F
Frankie Wu 已提交
295
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
296 297 298 299
				</requirement>
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
300 301
			<role>com.dianping.cat.report.page.problem.JspViewer</role>
			<implementation>com.dianping.cat.report.page.problem.JspViewer</implementation>
F
Frankie Wu 已提交
302
		</component>
F
Frankie Wu 已提交
303
		<component>
F
Frankie Wu 已提交
304 305 306 307 308 309 310
			<role>com.dianping.cat.report.page.transaction.Handler</role>
			<implementation>com.dianping.cat.report.page.transaction.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.transaction.JspViewer</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
311 312 313
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>transaction</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
314
				</requirement>
Y
youyong 已提交
315
				<requirement>
F
Frankie Wu 已提交
316
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
Y
youyong 已提交
317
				</requirement>
F
Frankie Wu 已提交
318 319 320 321 322 323
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.transaction.JspViewer</role>
			<implementation>com.dianping.cat.report.page.transaction.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
324 325 326 327 328 329 330
		<component>
			<role>com.dianping.cat.report.page.logview.Handler</role>
			<implementation>com.dianping.cat.report.page.logview.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.logview.JspViewer</role>
				</requirement>
F
Frankie Wu 已提交
331
				<requirement>
F
Frankie Wu 已提交
332 333 334
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>logview</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
335
				</requirement>
F
Frankie Wu 已提交
336 337 338 339 340 341
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.logview.JspViewer</role>
			<implementation>com.dianping.cat.report.page.logview.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
342 343 344 345 346 347 348 349
		<component>
			<role>com.dianping.cat.report.page.ip.Handler</role>
			<implementation>com.dianping.cat.report.page.ip.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.ip.JspViewer</role>
				</requirement>
				<requirement>
F
Frankie Wu 已提交
350 351 352
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>ip</role-hint>
					<field-name>m_service</field-name>
Y
youyong 已提交
353
				</requirement>
F
Frankie Wu 已提交
354 355 356 357 358 359
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.ip.JspViewer</role>
			<implementation>com.dianping.cat.report.page.ip.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
360 361 362 363 364 365 366 367 368 369 370 371
		<component>
			<role>com.dianping.cat.report.page.model.Handler</role>
			<implementation>com.dianping.cat.report.page.model.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.JspViewer</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>transaction-local</role-hint>
					<field-name>m_transactionService</field-name>
				</requirement>
372 373 374 375 376
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>problem-local</role-hint>
					<field-name>m_problemService</field-name>
				</requirement>
F
Frankie Wu 已提交
377 378 379 380 381
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>logview-local</role-hint>
					<field-name>m_logviewService</field-name>
				</requirement>
F
Frankie Wu 已提交
382 383 384 385 386 387 388
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.model.JspViewer</role>
			<implementation>com.dianping.cat.report.page.model.JspViewer</implementation>
		</component>
		<component>
F
Frankie Wu 已提交
389 390
			<role>com.dianping.cat.report.page.model.transaction.LocalTransactionService</role>
			<implementation>com.dianping.cat.report.page.model.transaction.LocalTransactionService</implementation>
F
Frankie Wu 已提交
391 392 393 394 395 396 397 398
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
			</requirements>
		</component>
399 400 401 402 403 404 405 406 407 408 409
		<component>
			<role>com.dianping.cat.report.page.model.problem.LocalProblemService</role>
			<implementation>com.dianping.cat.report.page.model.problem.LocalProblemService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
410 411 412 413
		<component>
			<role>com.dianping.cat.report.page.model.logview.LocalLogViewService</role>
			<implementation>com.dianping.cat.report.page.model.logview.LocalLogViewService</implementation>
			<requirements>
414 415 416 417 418
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
Y
You Yong 已提交
419
					<role-hint>html</role-hint>
420
				</requirement>
421 422 423 424 425
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
F
Frankie Wu 已提交
426 427
			</requirements>
		</component>
F
Frankie Wu 已提交
428
		<component>
Y
You Yong 已提交
429 430
			<role>com.dianping.cat.report.page.sql.Handler</role>
			<implementation>com.dianping.cat.report.page.sql.Handler</implementation>
F
Frankie Wu 已提交
431 432
			<requirements>
				<requirement>
Y
You Yong 已提交
433
					<role>com.dianping.cat.report.page.sql.JspViewer</role>
F
Frankie Wu 已提交
434 435
				</requirement>
				<requirement>
Y
You Yong 已提交
436
					<role>com.dianping.cat.job.sql.dal.SqlReportRecordDao</role>
F
Frankie Wu 已提交
437
				</requirement>
Y
You Yong 已提交
438 439 440
				<requirement>
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
				</requirement>
F
Frankie Wu 已提交
441 442 443
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
444 445 446 447 448 449 450 451 452 453 454
			<role>com.dianping.cat.report.page.sql.JspViewer</role>
			<implementation>com.dianping.cat.report.page.sql.JspViewer</implementation>
		</component>
		<component>
			<role>com.dianping.cat.job.sql.dal.SqlReportRecordDao</role>
			<implementation>com.dianping.cat.job.sql.dal.SqlReportRecordDao</implementation>
			<requirements>
				<requirement>
					<role>com.site.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
455
		</component>
F
Frankie Wu 已提交
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
		<component>
			<role>com.dianping.cat.report.page.event.Handler</role>
			<implementation>com.dianping.cat.report.page.event.Handler</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.event.JspViewer</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>event</role-hint>
					<field-name>m_service</field-name>
				</requirement>
				<requirement>
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.event.JspViewer</role>
			<implementation>com.dianping.cat.report.page.event.JspViewer</implementation>
		</component>
F
Frankie Wu 已提交
477 478
	</components>
</plexus>