IcedTea-Web
NetX

net.sourceforge.jnlp.runtime
Class AppThreadGroup

java.lang.Object
  extended by java.lang.ThreadGroup
      extended by net.sourceforge.jnlp.runtime.AppThreadGroup
All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler

public class AppThreadGroup
extends java.lang.ThreadGroup

Thread group for a JNLP application.


Constructor Summary
AppThreadGroup(java.lang.ThreadGroup parent, java.lang.String name)
          Creates new JavaAppThreadGroup
 
Method Summary
 ApplicationInstance getApplication()
          Returns the JNLP app for this thread group.
 void setApplication(ApplicationInstance app)
          Sets the JNLP app this group is for; can only be called once.
 void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
          Handle uncaught exceptions for the app.
 
Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppThreadGroup

public AppThreadGroup(java.lang.ThreadGroup parent,
                      java.lang.String name)
Creates new JavaAppThreadGroup

Parameters:
name - of the App
Method Detail

setApplication

public void setApplication(ApplicationInstance app)
Sets the JNLP app this group is for; can only be called once.


getApplication

public ApplicationInstance getApplication()
Returns the JNLP app for this thread group.


uncaughtException

public void uncaughtException(java.lang.Thread t,
                              java.lang.Throwable e)
Handle uncaught exceptions for the app.

Specified by:
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler
Overrides:
uncaughtException in class java.lang.ThreadGroup

IcedTea-Web
NetX

Submit a bug or feature