Package org.springframework.osgi.context.event

Examples of org.springframework.osgi.context.event.OsgiBundleContextClosedEvent


      delegatedMulticaster.multicastEvent(new OsgiBundleContextRefreshedEvent(this, this.getBundle()));
  }

  private void sendClosedEvent() {
    if (delegatedMulticaster != null)
      delegatedMulticaster.multicastEvent(new OsgiBundleContextClosedEvent(this, this.getBundle()));
  }
View Full Code Here


      delegatedMulticaster.multicastEvent(new OsgiBundleContextClosedEvent(this, this.getBundle()));
  }

  private void sendClosedEvent(Throwable cause) {
    if (delegatedMulticaster != null)
      delegatedMulticaster.multicastEvent(new OsgiBundleContextClosedEvent(this, this.getBundle(), cause));
  }
View Full Code Here

        failureEvent.getFailureCause());

    }

    if (event instanceof OsgiBundleContextClosedEvent) {
      OsgiBundleContextClosedEvent closedEvent = (OsgiBundleContextClosedEvent) event;
      Throwable error = closedEvent.getFailureCause();

      if (error == null) {
        log.info("Application context succesfully closed (" + applicationContextString + ")");
      }
      else {
View Full Code Here

TOP

Related Classes of org.springframework.osgi.context.event.OsgiBundleContextClosedEvent

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.