Exemple #1
0
		public DisconfFileCoreProcessorImpl(WatchMgr watchMgr, FetcherMgr fetcherMgr, Registry registry)
		{

			this.fetcherMgr = fetcherMgr;
			this.watchMgr = watchMgr;
			this.registry = registry;
		}
Exemple #2
0
		public DisconfCoreMgrImpl(WatchMgr watchMgr, FetcherMgr fetcherMgr, Registry registry)
		{

			this.watchMgr = watchMgr;
			this.fetcherMgr = fetcherMgr;
			this.registry = registry;

			//
			// 在这里添加好配置项、配置文件的处理器
			//
			DisconfCoreProcessor disconfCoreProcessorFile = DisconfCoreProcessorFactory.getDisconfCoreProcessorFile(watchMgr, fetcherMgr, registry);
			disconfCoreProcessorList.Add(disconfCoreProcessorFile);

			DisconfCoreProcessor disconfCoreProcessorItem = DisconfCoreProcessorFactory.getDisconfCoreProcessorItem(watchMgr, fetcherMgr, registry);
			disconfCoreProcessorList.Add(disconfCoreProcessorItem);
		}