org.fourthline.cling.support.shared
Class Main

java.lang.Object
  extended by org.fourthline.cling.support.shared.Main
All Implemented Interfaces:
Thread.UncaughtExceptionHandler, ShutdownHandler

public abstract class Main
extends Object
implements ShutdownHandler, Thread.UncaughtExceptionHandler

Author:
Christian Bauer

Field Summary
protected  JFrame errorWindow
           
protected  boolean isRegularShutdown
           
 
Constructor Summary
Main()
           
 
Method Summary
protected abstract  String getAppName()
           
 void init()
           
 void shutdown()
           
 void uncaughtException(Thread thread, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errorWindow

protected final JFrame errorWindow

isRegularShutdown

protected boolean isRegularShutdown
Constructor Detail

Main

public Main()
Method Detail

init

public void init()

shutdown

public void shutdown()
Specified by:
shutdown in interface ShutdownHandler

uncaughtException

public void uncaughtException(Thread thread,
                              Throwable throwable)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler

getAppName

protected abstract String getAppName()


Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.