Package org.osgi.service.application

Examples of org.osgi.service.application.ApplicationHandle.destroy()


      return;
    // force the default application to quit
    ApplicationHandle handle =(ApplicationHandle) handleTracker.getService();
    if (handle != null) {
      try {
        handle.destroy();
      } catch (Throwable t) {
        String message = NLS.bind(Messages.application_error_stopping, handle.getInstanceId());
        Activator.log(new FrameworkLogEntry(Activator.PI_APP, FrameworkLogEntry.WARNING, 0, message, 0, t, null));
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.