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

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


      nestedEvent);
    publishEvent(dependencyEvent);
  }

  private void sendDependencySatisfiedEvent(MandatoryServiceDependency dependency) {
    OsgiServiceDependencyEvent nestedEvent = new OsgiServiceDependencyWaitEndedEvent(context,
      dependency.getServiceDependency(), waitTime);
    BootstrappingDependencyEvent dependencyEvent = new BootstrappingDependencyEvent(context, context.getBundle(),
      nestedEvent);
    publishEvent(dependencyEvent);
  }
View Full Code Here


        throw exception;
      }

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

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

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

      nestedEvent);
    publishEvent(dependencyEvent);
  }

  private void sendDependencySatisfiedEvent(MandatoryServiceDependency dependency) {
    OsgiServiceDependencyEvent nestedEvent = new OsgiServiceDependencyWaitEndedEvent(context,
      dependency.getServiceDependency(), waitTime);
    BootstrappingDependencyEvent dependencyEvent = new BootstrappingDependencyEvent(context, context.getBundle(),
      nestedEvent);
    publishEvent(dependencyEvent);
  }
View Full Code Here

TOP

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

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.