public interface: Notifiable
All Known Implementing Classes:
interface 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.
|Method from org.apache.sling.launchpad.base.shared.Notifiable Summary:|
|Method from org.apache.sling.launchpad.base.shared.Notifiable Detail:|
public void stopped()
Called when the OSGi framework has been stopped because the
Bundle.stop method has been called on the system bundle.
public void updated(File tmpFile)
Called when the OSGi framework has been stopped because any of the
Bundle.update methods 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.