private final List<IScanInstance> activeScanInstanceList;
public ScanAlertRepository(ObjectContainer db, IXmlRepository xmlRepository) {
this.database = db;
this.alertFactory = new ScanAlertFactory(xmlRepository);
this.scanInstanceEventManager = new EventListenerManager();
final EventRegistry registry = EventRegistryFactory.forObjectContainer(database);
registry.activated().addListener(new EventListener4<ObjectInfoEventArgs>() {
@Override
public void onEvent(Event4<ObjectInfoEventArgs> e, ObjectInfoEventArgs args) {
final Object ob = args.object();