components.xml 14.0 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>
F
Frankie Wu 已提交
42
			<role-hint>transaction-hdfs</role-hint>
F
Frankie Wu 已提交
43
			<implementation>com.dianping.cat.report.page.model.transaction.HdfsTransactionService</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>
F
Frankie Wu 已提交
54 55 56 57 58
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>transaction-local</role-hint>
F
Frankie Wu 已提交
59
						<role-hint>transaction-hdfs</role-hint>
F
Frankie Wu 已提交
60 61 62 63 64 65
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
		<component>
F
Frankie Wu 已提交
66
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
67 68
			<role-hint>problem-local</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.LocalProblemService</implementation>
F
Frankie Wu 已提交
69 70 71 72 73 74
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
				</requirement>
			</requirements>
F
Frankie Wu 已提交
75
		</component>
F
Frankie Wu 已提交
76 77 78 79 80 81 82 83 84 85
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>problem-hdfs</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.HdfsProblemService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
86
		<component>
F
Frankie Wu 已提交
87
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
F
Frankie Wu 已提交
88 89
			<role-hint>problem</role-hint>
			<implementation>com.dianping.cat.report.page.model.problem.CompositeProblemService</implementation>
F
Frankie Wu 已提交
90 91
			<requirements>
				<requirement>
F
Frankie Wu 已提交
92 93
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
F
Frankie Wu 已提交
94
						<role-hint>problem-local</role-hint>
F
Frankie Wu 已提交
95
						<role-hint>problem-hdfs</role-hint>
F
Frankie Wu 已提交
96 97
					</role-hints>
					<field-name>m_services</field-name>
F
Frankie Wu 已提交
98 99 100
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
		<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>
			<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 已提交
126 127 128 129 130
		<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>
131 132 133 134 135 136 137
				<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 已提交
138 139
			</requirements>
		</component>
F
Frankie Wu 已提交
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
		<component>
			<role>com.dianping.cat.report.page.model.spi.ModelService</role>
			<role-hint>logview-hdfs</role-hint>
			<implementation>com.dianping.cat.report.page.model.logview.HdfsLogViewService</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>html</role-hint>
					<field-name>m_htmlCodec</field-name>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
					<role-hint>plain-text</role-hint>
					<field-name>m_plainCodec</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
160 161 162 163 164 165 166 167 168
		<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>
			<requirements>
				<requirement>
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hints>
						<role-hint>logview-local</role-hint>
F
Frankie Wu 已提交
169
						<role-hint>logview-hdfs</role-hint>
F
Frankie Wu 已提交
170 171 172 173 174
					</role-hints>
					<field-name>m_services</field-name>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
		<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>
195 196 197 198 199
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_realtimeConsumer</field-name>
				</requirement>
F
Frankie Wu 已提交
200 201 202 203 204 205
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.report.page.home.JspViewer</role>
			<implementation>com.dianping.cat.report.page.home.JspViewer</implementation>
		</component>
206 207 208 209 210 211 212 213 214 215 216
		<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 已提交
217
					<role>java.util.List</role>
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
				</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 已提交
236
		<component>
Y
You Yong 已提交
237 238
			<role>com.dianping.cat.report.page.problem.Handler</role>
			<implementation>com.dianping.cat.report.page.problem.Handler</implementation>
F
Frankie Wu 已提交
239 240
			<requirements>
				<requirement>
Y
You Yong 已提交
241
					<role>com.dianping.cat.report.page.problem.JspViewer</role>
F
Frankie Wu 已提交
242 243
				</requirement>
				<requirement>
F
Frankie Wu 已提交
244
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
Y
You Yong 已提交
245
					<role-hint>problem</role-hint>
F
Frankie Wu 已提交
246
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
247 248 249 250
				</requirement>
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
251 252
			<role>com.dianping.cat.report.page.problem.JspViewer</role>
			<implementation>com.dianping.cat.report.page.problem.JspViewer</implementation>
F
Frankie Wu 已提交
253
		</component>
F
Frankie Wu 已提交
254
		<component>
F
Frankie Wu 已提交
255 256 257 258 259 260 261
			<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 已提交
262 263 264
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>transaction</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
265
				</requirement>
Y
youyong 已提交
266
				<requirement>
F
Frankie Wu 已提交
267
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
Y
youyong 已提交
268
				</requirement>
F
Frankie Wu 已提交
269 270 271 272 273 274
			</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 已提交
275 276 277 278 279 280 281
		<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 已提交
282
				<requirement>
F
Frankie Wu 已提交
283 284 285
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>logview</role-hint>
					<field-name>m_service</field-name>
F
Frankie Wu 已提交
286
				</requirement>
F
Frankie Wu 已提交
287 288 289 290 291 292
			</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 已提交
293 294 295 296 297 298 299 300
		<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 已提交
301 302 303
					<role>com.dianping.cat.report.page.model.spi.ModelService</role>
					<role-hint>ip</role-hint>
					<field-name>m_service</field-name>
Y
youyong 已提交
304
				</requirement>
F
Frankie Wu 已提交
305 306 307 308 309 310
			</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 已提交
311 312 313 314 315 316 317 318 319 320 321 322
		<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>
323 324 325 326 327
				<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 已提交
328 329 330 331 332
				<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 已提交
333 334 335 336 337 338 339
			</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 已提交
340 341
			<role>com.dianping.cat.report.page.model.transaction.LocalTransactionService</role>
			<implementation>com.dianping.cat.report.page.model.transaction.LocalTransactionService</implementation>
F
Frankie Wu 已提交
342 343 344 345 346 347 348 349
			<requirements>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageConsumer</role>
					<role-hint>realtime</role-hint>
					<field-name>m_consumer</field-name>
				</requirement>
			</requirements>
		</component>
350 351 352 353 354 355 356 357 358 359 360
		<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 已提交
361 362 363 364
		<component>
			<role>com.dianping.cat.report.page.model.logview.LocalLogViewService</role>
			<implementation>com.dianping.cat.report.page.model.logview.LocalLogViewService</implementation>
			<requirements>
365 366 367 368 369
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.message.spi.MessageCodec</role>
Y
You Yong 已提交
370
					<role-hint>html</role-hint>
371
				</requirement>
F
Frankie Wu 已提交
372 373
			</requirements>
		</component>
F
Frankie Wu 已提交
374
		<component>
Y
You Yong 已提交
375 376
			<role>com.dianping.cat.report.page.sql.Handler</role>
			<implementation>com.dianping.cat.report.page.sql.Handler</implementation>
F
Frankie Wu 已提交
377 378
			<requirements>
				<requirement>
Y
You Yong 已提交
379
					<role>com.dianping.cat.report.page.sql.JspViewer</role>
F
Frankie Wu 已提交
380 381
				</requirement>
				<requirement>
Y
You Yong 已提交
382
					<role>com.dianping.cat.job.sql.dal.SqlReportRecordDao</role>
F
Frankie Wu 已提交
383
				</requirement>
Y
You Yong 已提交
384 385 386
				<requirement>
					<role>com.dianping.cat.report.graph.GraphBuilder</role>
				</requirement>
F
Frankie Wu 已提交
387 388 389
			</requirements>
		</component>
		<component>
Y
You Yong 已提交
390 391 392 393 394 395 396 397 398 399 400
			<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 已提交
401
		</component>
F
Frankie Wu 已提交
402 403
	</components>
</plexus>