| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.apache.sling.launchpad.app.Main
public class Main
The Main is the externally visible Standalone Java Application
 launcher for Sling. Please refer to the full description The Sling
 Launchpad on the Sling Wiki for a full description of this class.
 
Logging goes to standard output for informational messages and to standard error for error messages.
This class goes into the secondary artifact with the classifier app to be used as the main class when starting the Java Application.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class java.lang.Thread | 
|---|
| java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler | 
| Field Summary | 
|---|
| Fields inherited from class java.lang.Thread | 
|---|
| MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Method Summary | |
|---|---|
| static void | main(java.lang.String[] args) | 
|  void | run()Called when the Java VM is being terminiated, for example because the KILL signal has been sent to the process. | 
|  void | stopped()The framework has been stopped by calling the Bundle.stop()on the system bundle. | 
|  void | updated(java.io.File updateFile)The framework has been stopped with the intent to be restarted by calling either of the Bundle.updatemethods on the system bundle. | 
| Methods inherited from class java.lang.Thread | 
|---|
| activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public static void main(java.lang.String[] args)
public void stopped()
Bundle.stop()
 on the system bundle. This actually terminates the Sling Standalone
 application.
stopped in interface Notifiablepublic void updated(java.io.File updateFile)
Bundle.update methods on the system bundle.
 
 If an InputStream was provided, this has been copied to a
 temporary file, which will be used in place of the existing launcher jar
 file.
updated in interface NotifiableupdateFile - The temporary file to replace the existing launcher jar
            file. If null the existing launcher jar will be
            used again.public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||