components.xml 9.5 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>
Y
yong.you 已提交
52 53 54 55 56 57 58
			</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 已提交
59 60 61
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
62 63 64
			</requirements>
		</component>
		<component>
65
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
66 67
			<role-hint>cross</role-hint>
			<implementation>com.dianping.cat.consumer.cross.CrossAnalyzer</implementation>
68 69 70
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
yong.you 已提交
71 72
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>cross</role-hint>
73
				</requirement>
Y
yong.you 已提交
74 75 76 77 78 79 80 81 82 83
			</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>
84
				<requirement>
Y
yong.you 已提交
85 86
					<role>com.dianping.cat.service.ReportDelegate</role>
					<role-hint>cross</role-hint>
87
				</requirement>
Y
yong.you 已提交
88
				<requirement>
Y
yong.you 已提交
89
					<role>com.dianping.cat.storage.BucketManager</role>
Y
yong.you 已提交
90
				</requirement>
91
				<requirement>
Y
yong.you 已提交
92
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
93
				</requirement>
Y
yong.you 已提交
94 95 96 97 98 99 100
			</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 已提交
101
				<requirement>
Y
yong.you 已提交
102
					<role>com.dianping.cat.task.TaskManager</role>
Y
yong.you 已提交
103
				</requirement>
104 105 106
			</requirements>
		</component>
		<component>
107
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
108
			<role-hint>matrix</role-hint>
Y
yong.you 已提交
109
			<implementation>com.dianping.cat.consumer.matrix.MatrixAnalyzer</implementation>
110 111
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
Y
yong.you 已提交
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
				<requirement>
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>matrix</role-hint>
				</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>
130 131 132 133
				<requirement>
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
Y
yong.you 已提交
134
					<role>com.dianping.cat.core.dal.HourlyReportDao</role>
135
				</requirement>
Y
yong.you 已提交
136 137 138 139 140 141 142
			</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 已提交
143 144 145
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
146 147
			</requirements>
		</component>
Y
yong.you 已提交
148
		<component>
149
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
Y
yong.you 已提交
150
			<role-hint>dependency</role-hint>
Y
yong.you 已提交
151
			<implementation>com.dianping.cat.consumer.dependency.DependencyAnalyzer</implementation>
Y
yong.you 已提交
152 153 154
			<instantiation-strategy>per-lookup</instantiation-strategy>
			<requirements>
				<requirement>
Y
yong.you 已提交
155 156
					<role>com.dianping.cat.service.ReportManager</role>
					<role-hint>dependency</role-hint>
Y
yong.you 已提交
157 158
				</requirement>
				<requirement>
Y
yong.you 已提交
159
					<role>com.dianping.cat.consumer.DomainManager</role>
Y
yong.you 已提交
160
				</requirement>
161
				<requirement>
Y
yong.you 已提交
162
					<role>com.dianping.cat.consumer.sql.DatabaseParser</role>
163
				</requirement>
Y
yong.you 已提交
164 165 166 167 168 169 170 171 172 173
			</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 已提交
174
				<requirement>
Y
yong.you 已提交
175 176
					<role>com.dianping.cat.service.ReportDelegate</role>
					<role-hint>dependency</role-hint>
Y
yong.you 已提交
177
				</requirement>
Y
yong.you 已提交
178
				<requirement>
Y
yong.you 已提交
179 180 181 182 183 184 185 186 187 188 189 190 191 192
					<role>com.dianping.cat.storage.BucketManager</role>
				</requirement>
				<requirement>
					<role>com.dianping.cat.core.dal.HourlyReportDao</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>
Y
yong.you 已提交
193
				</requirement>
Y
yong.you 已提交
194 195
			</requirements>
		</component>
Y
yong.you 已提交
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
		<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 已提交
214
		<component>
215
			<role>com.dianping.cat.analysis.MessageAnalyzer</role>
F
Frankie Wu 已提交
216 217 218 219 220 221 222 223
			<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 已提交
224
					<role>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</role>
F
Frankie Wu 已提交
225
				</requirement>
Y
yong.you 已提交
226
				<requirement>
Y
yong.you 已提交
227
					<role>com.dianping.cat.consumer.advanced.MetricConfigManager</role>
Y
yong.you 已提交
228
				</requirement>
Y
yong.you 已提交
229
				<requirement>
Y
yong.you 已提交
230
					<role>com.dianping.cat.consumer.advanced.ProductLineConfigManager</role>
Y
yong.you 已提交
231
				</requirement>
Y
yong.you 已提交
232 233 234
				<requirement>
					<role>com.dianping.cat.abtest.spi.internal.ABTestCodec</role>
				</requirement>
Y
yong.you 已提交
235 236 237
				<requirement>
					<role>com.dianping.cat.task.TaskManager</role>
				</requirement>
F
Frankie Wu 已提交
238 239
			</requirements>
		</component>
240 241 242 243 244 245 246
		<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 已提交
247
			<role-hint>business-report</role-hint>
F
Frankie Wu 已提交
248 249
			<implementation>org.unidal.dal.jdbc.mapping.SimpleTableProvider</implementation>
			<configuration>
F
Frankie Wu 已提交
250 251
				<logical-table-name>business-report</logical-table-name>
				<physical-table-name>businessReport</physical-table-name>
F
Frankie Wu 已提交
252 253 254 255 256
				<data-source-name>cat</data-source-name>
			</configuration>
		</component>
		<component>
			<role>org.unidal.dal.jdbc.mapping.TableProvider</role>
F
Frankie Wu 已提交
257
			<role-hint>sqltable</role-hint>
F
Frankie Wu 已提交
258 259
			<implementation>org.unidal.dal.jdbc.mapping.SimpleTableProvider</implementation>
			<configuration>
F
Frankie Wu 已提交
260 261
				<logical-table-name>sqltable</logical-table-name>
				<physical-table-name>sqltable</physical-table-name>
F
Frankie Wu 已提交
262 263 264 265
				<data-source-name>cat</data-source-name>
			</configuration>
		</component>
		<component>
Y
yong.you 已提交
266 267
			<role>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</role>
			<implementation>com.dianping.cat.consumer.advanced.dal.BusinessReportDao</implementation>
F
Frankie Wu 已提交
268 269 270 271 272
			<requirements>
				<requirement>
					<role>org.unidal.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
273 274
		</component>
		<component>
Y
yong.you 已提交
275 276
			<role>com.dianping.cat.consumer.advanced.dal.SqltableDao</role>
			<implementation>com.dianping.cat.consumer.advanced.dal.SqltableDao</implementation>
277 278 279 280 281 282 283 284
			<requirements>
				<requirement>
					<role>org.unidal.dal.jdbc.QueryEngine</role>
				</requirement>
			</requirements>
		</component>
	</components>
</plexus>