Package com.subgraph.vega.api.events

Examples of com.subgraph.vega.api.events.EventListenerManager


  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();
View Full Code Here


    this.scanStatus = SCAN_CONFIG;
    this.properties = new ModelProperties();
  }

  public void setTransientState(ObjectContainer database, ScanAlertRepository repository, ScanAlertFactory alertFactory) {
    this.eventManager = new EventListenerManager();
    this.repository = repository;
    this.scanAlerts = new ScanInstanceAlerts(database, this, eventManager, alertFactory);
  }
View Full Code Here

  private ITargetScope defaultScope;
 
  public TargetScopeManager(ObjectContainer database) {
    this.database = database;
    this.scopeId = getTargetScopeId(database);
    scopeChangeListeners = new EventListenerManager();
    final EventRegistry registry = EventRegistryFactory.forObjectContainer(database);
    registry.activating().addListener(new EventListener4<CancellableObjectEventArgs>() {

      @Override
      public void onEvent(Event4<CancellableObjectEventArgs> e,
View Full Code Here

  private ObjectContainer database;
  private final EventListenerManager changeEventManager;

  public HttpMacroModel(ObjectContainer database) {
    this.database = database;
    this.changeEventManager = new EventListenerManager();
  }
View Full Code Here

  private final ObjectContainer database;
  private final EventListenerManager changeEventManager;

  public IdentityModel(ObjectContainer database) {
    this.database = database;
    this.changeEventManager = new EventListenerManager();
  }
View Full Code Here

    rateLimit = new RateLimiter(config.getRequestsPerMinute());
    cookieMatcher = new CookieMatcher(getClientDowncast());
    httpContext = new SyncBasicHttpContext(null);

    requestModifierList = new ArrayList<IHttpRequestModifier>();
    requestEventManager = new EventListenerManager();
    requestInProgressList = new ArrayList<HttpRequestTask>();
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.events.EventListenerManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.