/** * Creates and sets up the ProducerRegistryAPIImpl. ProducerRegistryAPIImpl is meant to be a singleton. */ ProducerRegistryAPIImpl(){ _cachedProducerList = null; _cachedProducerMap = null; _cachedIntervalInfos = null; registry = ProducerRegistryFactory.getProducerRegistryInstance(); registry.addListener(this); intervalRegistry = IntervalRegistry.getInstance(); }
public TieableRepository() { ProducerRegistryFactory.getProducerRegistryInstance().addListener(this); listeners.put("default", defaultListener); UpdateTriggerServiceFactory.getUpdateTriggerService().addUpdateable(this, 60); }