Package com.gi.engine.server.service

Examples of com.gi.engine.server.service.AbstractServiceDesc


  private Vector<PoolEventListener> poolEventListeners = new Vector<PoolEventListener>();

  public AbstractPool(PooledService pooledService) {
    parentService = pooledService;

    AbstractServiceDesc serviceDesc = pooledService.getServiceDesc();
    int minInstances = serviceDesc.getMinInstances();
    int maxInstances = serviceDesc.getMaxInstances();
    this.minInstances = minInstances < maxInstances ? minInstances
        : maxInstances;
    this.maxInstances = maxInstances > minInstances ? maxInstances
        : minInstances;
    this.timeout = serviceDesc.getTimeout();

    // Add self listener to the listeners list.
    this.addEventListener(selfListener);
  }
View Full Code Here

TOP

Related Classes of com.gi.engine.server.service.AbstractServiceDesc

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.