components.xml 10.1 KB
Newer Older
1 2 3 4 5 6 7
<plexus>
	<components>
		<component>
			<role>com.dianping.cat.consumer.sql.SqlParseManager</role>
			<implementation>com.dianping.cat.consumer.sql.SqlParseManager</implementation>
			<requirements>
				<requirement>
Y
yong.you 已提交
8
					<role>com.dianping.cat.consumer.advanced.dal.SqltableDao</role>
9 10 11
				</requirement>
			</requirements>
		</component>
Y
yong.you 已提交
12
		<component>
Y
yong.you 已提交
13 14
			<role>com.dianping.cat.consumer.sql.DatabaseParser</role>
			<implementation>com.dianping.cat.consumer.sql.DatabaseParser</implementation>
Y
yong.you 已提交
15
		</component>
16
		<component>
17
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
18 19
			<role-hint>sql</role-hint>
			<implementation>com.dianping.cat.consumer.sql.SqlAnalyzer</implementation>
20 21
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
Y
yong.you 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
				<requirement>
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>sql</role-hint>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.sql.SqlParseManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.consumer.sql.DatabaseParser</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.service.ReportManager</role>
			<role-hint>sql</role-hint>
			<implementation>com.dianping.cat.service.DefaultReportManager</implementation>
			<configuration>
				<name>sql</name>
			</configuration>
			<requirements>
				<requirement>
					<role>com.dianping.cat.service.ReportDelegate</role>
					<role-hint>sql</role-hint>
				</requirement>
46 47 48 49
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
Y
yong.you 已提交
50
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
51
				</requirement>
52 53 54
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
yong.you 已提交
55 56 57 58 59 60 61
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.service.ReportDelegate</role>
			<role-hint>sql</role-hint>
			<implementation>com.dianping.cat.consumer.sql.SqlDelegate</implementation>
			<requirements>
Y
yong.you 已提交
62 63 64
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
65 66 67
			</requirements>
		</component>
		<component>
68
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
69 70
			<role-hint>cross</role-hint>
			<implementation>com.dianping.cat.consumer.cross.CrossAnalyzer</implementation>
71 72 73
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
yong.you 已提交
74 75
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>cross</role-hint>
76
				</requirement>
Y
yong.you 已提交
77 78 79
				<requirement>
					<role>com.dianping.cat.ServerConfigManager</role>
				</requirement>
Y
yong.you 已提交
80 81 82 83 84 85 86 87 88 89
			</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>
90
				<requirement>
Y
yong.you 已提交
91 92
					<role>com.dianping.cat.service.ReportDelegate</role>
					<role-hint>cross</role-hint>
93
				</requirement>
Y
yong.you 已提交
94
				<requirement>
Y
yong.you 已提交
95
					<role>com.dianping.cat.storage.BucketManager</role>
Y
yong.you 已提交
96
				</requirement>
97
				<requirement>
Y
yong.you 已提交
98
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
99
				</requirement>
100 101 102
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
yong.you 已提交
103 104 105 106 107 108 109
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.service.ReportDelegate</role>
			<role-hint>cross</role-hint>
			<implementation>com.dianping.cat.consumer.cross.CrossDelegate</implementation>
			<requirements>
Y
yong.you 已提交
110
				<requirement>
Y
yong.you 已提交
111
					<role>com.dianping.cat.task.TaskManager</role>
Y
yong.you 已提交
112
				</requirement>
113 114 115
			</requirements>
		</component>
		<component>
116
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
117
			<role-hint>matrix</role-hint>
Y
yong.you 已提交
118
			<implementation>com.dianping.cat.consumer.matrix.MatrixAnalyzer</implementation>
119 120
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
Y
yong.you 已提交
121 122 123 124
				<requirement>
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>matrix</role-hint>
				</requirement>
Y
yong.you 已提交
125 126 127
				<requirement>
					<role>com.dianping.cat.ServerConfigManager</role>
				</requirement>
Y
yong.you 已提交
128 129 130 131 132 133 134 135 136 137 138 139 140 141
			</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>
142 143 144 145
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
Y
yong.you 已提交
146
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
147
				</requirement>
148 149 150
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
yong.you 已提交
151 152 153 154 155 156 157
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.service.ReportDelegate</role>
			<role-hint>matrix</role-hint>
			<implementation>com.dianping.cat.consumer.matrix.MatrixDelegate</implementation>
			<requirements>
Y
yong.you 已提交
158 159 160
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
161 162
			</requirements>
		</component>
Y
yong.you 已提交
163
		<component>
164
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
165
			<role-hint>dependency</role-hint>
Y
yong.you 已提交
166
			<implementation>com.dianping.cat.consumer.dependency.DependencyAnalyzer</implementation>
Y
yong.you 已提交
167 168 169
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
yong.you 已提交
170 171
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>dependency</role-hint>
Y
yong.you 已提交
172
				</requirement>
Y
yong.you 已提交
173 174 175
				<requirement>
					<role>com.dianping.cat.ServerConfigManager</role>
				</requirement>
Y
yong.you 已提交
176
				<requirement>
S
sunryuan 已提交
177
					<role>com.dianping.cat.DomainManager</role>
Y
yong.you 已提交
178
				</requirement>
179
				<requirement>
Y
yong.you 已提交
180
					<role>com.dianping.cat.consumer.sql.DatabaseParser</role>
181
				</requirement>
Y
yong.you 已提交
182 183 184 185 186 187 188 189 190 191
			</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>
Y
yong.you 已提交
192
				<requirement>
Y
yong.you 已提交
193 194
					<role>com.dianping.cat.service.ReportDelegate</role>
					<role-hint>dependency</role-hint>
Y
yong.you 已提交
195
				</requirement>
Y
yong.you 已提交
196
				<requirement>
Y
yong.you 已提交
197 198 199 200 201
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
				</requirement>
202 203 204
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportContentDao</role>
				</requirement>
Y
yong.you 已提交
205 206 207 208 209 210 211 212 213
			</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>
Y
yong.you 已提交
214
				</requirement>
Y
yong.you 已提交
215 216
			</requirements>
		</component>
Y
yong.you 已提交
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
		<component>
			<role>com.dianping.cat.consumer.advanced.MetricConfigManager</role>
			<implementation>com.dianping.cat.consumer.advanced.MetricConfigManager</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.config.ConfigDao</role>
				</requirement>
			</requirements>
		</component>
		<component>
			<role>com.dianping.cat.consumer.advanced.ProductLineConfigManager</role>
			<implementation>com.dianping.cat.consumer.advanced.ProductLineConfigManager</implementation>
			<requirements>
				<requirement>
					<role>com.dianping.cat.core.config.ConfigDao</role>
				</requirement>
			</requirements>
		</component>
F
Frankie Wu 已提交
235
		<component>
236
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
F
Frankie Wu 已提交
237 238 239 240 241 242 243 244
			<role-hint>metric</role-hint>
			<implementation>com.dianping.cat.consumer.advanced.MetricAnalyzer</implementation>
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
Y
yong.you 已提交
245
					<role>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</role>
F
Frankie Wu 已提交
246
				</requirement>
Y
yong.you 已提交
247
				<requirement>
Y
yong.you 已提交
248
					<role>com.dianping.cat.consumer.advanced.MetricConfigManager</role>
Y
yong.you 已提交
249
				</requirement>
Y
yong.you 已提交
250
				<requirement>
Y
yong.you 已提交
251
					<role>com.dianping.cat.consumer.advanced.ProductLineConfigManager</role>
Y
yong.you 已提交
252
				</requirement>
Y
yong.you 已提交
253 254 255
				<requirement>
					<role>com.dianping.cat.abtest.spi.internal.ABTestCodec</role>
				</requirement>
Y
yong.you 已提交
256 257 258
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
F
Frankie Wu 已提交
259 260
			</requirements>
		</component>
261 262 263 264 265 266 267
		<component>
			<role>org.unidal.initialization.Module</role>
			<role-hint>cat-consumer-advanced</role-hint>
			<implementation>com.dianping.cat.consumer.CatConsumerAdvancedModule</implementation>
		</component>
		<component>
			<role>org.unidal.dal.jdbc.mapping.TableProvider</role>
F
Frankie Wu 已提交
268
			<role-hint>business-report</role-hint>
F
Frankie Wu 已提交
269 270
			<implementation>org.unidal.dal.jdbc.mapping.SimpleTableProvider</implementation>
			<configuration>
F
Frankie Wu 已提交
271 272
				<logical-table-name>business-report</logical-table-name>
				<physical-table-name>businessReport</physical-table-name>
F
Frankie Wu 已提交
273 274 275 276 277
				<data-source-name>cat</data-source-name>
			</configuration>
		</component>
		<component>
			<role>org.unidal.dal.jdbc.mapping.TableProvider</role>
F
Frankie Wu 已提交
278
			<role-hint>sqltable</role-hint>
F
Frankie Wu 已提交
279 280
			<implementation>org.unidal.dal.jdbc.mapping.SimpleTableProvider</implementation>
			<configuration>
F
Frankie Wu 已提交
281 282
				<logical-table-name>sqltable</logical-table-name>
				<physical-table-name>sqltable</physical-table-name>
F
Frankie Wu 已提交
283 284 285 286
				<data-source-name>cat</data-source-name>
			</configuration>
		</component>
		<component>
Y
yong.you 已提交
287 288
			<role>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</role>
			<implementation>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</implementation>
F
Frankie Wu 已提交
289 290 291 292 293
			<requirements>
				<requirement>
					<role>org.unidal.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
294 295
		</component>
		<component>
Y
yong.you 已提交
296 297
			<role>com.dianping.cat.consumer.advanced.dal.SqltableDao</role>
			<implementation>com.dianping.cat.consumer.advanced.dal.SqltableDao</implementation>
298 299 300 301 302 303 304 305
			<requirements>
				<requirement>
					<role>org.unidal.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
		</component>
	</components>
</plexus>