@@ -0,0 +1,769 @@
+package com.dianping.cat.build;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport org.unidal.lookup.configuration.AbstractResourceConfigurator;%0Aimport org.unidal.lookup.configuration.Component;%0A%0Aimport com.dianping.cat.home.dal.abtest.AbtestDao;%0Aimport com.dianping.cat.home.dal.abtest.AbtestRunDao;%0Aimport com.dianping.cat.system.page.abtest.service.ABTestService;%0Aimport com.dianping.cat.system.page.abtest.service.ABTestServiceImpl;%0A%0Apublic class ABTestComponentConfigurator extends AbstractResourceConfigurator %7B%0A%0A%09@Override%0A%09public List%3CComponent%3E defineComponents() %7B%0A%0A%09%09List%3CComponent%3E all = new ArrayList%3CComponent%3E();%0A%0A%09%09all.add(C(ABTestService.class, ABTestServiceImpl.class)%0A%09%09%09%09.req(AbtestDao.class).req(AbtestRunDao.class));%0A%0A%09%09return all;%0A%09%7D%0A%0A%7D%0A

add a abtest component