public interface Notifiable
Notifiableinterface is implemented by the real main class and Sling Servlet for them to be notified from the launcher JAR when the framework has been stopped or updated.
|Modifier and Type||Method and Description|
Called when the OSGi framework has been stopped because the
Called when the OSGi framework has been stopped because any of the
Bundle.stopmethod has been called on the system bundle.
void updated(File tmpFile)
Bundle.updatemethods has been called on the system bundle.
If a temporary file is provided in the
that file must be used to replace the current Launcher JAR file and must
be used for restarting the framework. Otherwise the framework is
restarted from the existing Launcher JAR file.
tmpFile- A temporary file containing the contents of the
InputStreamgiven to the
Bundle.update(InputStream)method. If no input stream has been provided, this parameter is
Copyright © 2017 The Apache Software Foundation. All rights reserved.