Package org.springframework.osgi.service.importer.event

Examples of org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitTimedOutEvent


        result = super.execute(callback);
        stop = System.currentTimeMillis() - start;
      }
      catch (RuntimeException exception) {
        stop = System.currentTimeMillis() - start;
        publishEvent(new OsgiServiceDependencyWaitTimedOutEvent(eventSource, dependency, stop));
        throw exception;
      }

      // send finalization event
      if (callback.isComplete(result)) {
        publishEvent(new OsgiServiceDependencyWaitEndedEvent(eventSource, dependency, stop));
      }
      else {
        publishEvent(new OsgiServiceDependencyWaitTimedOutEvent(eventSource, dependency, stop));
      }

      return result;
    }
View Full Code Here


    public EventSenderRetryTemplate() {
      super(lock);
    }

    protected void callbackFailed(long stop) {
      publishEvent(new OsgiServiceDependencyWaitTimedOutEvent(eventSource, dependency, stop));
    }
View Full Code Here

TOP

Related Classes of org.springframework.osgi.service.importer.event.OsgiServiceDependencyWaitTimedOutEvent

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.