netx.jnlp.runtime

Class AppThreadGroup


public class AppThreadGroup
extends ThreadGroup

Thread group for a JNLP application.
Version:
$Revision: 1.5 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

AppThreadGroup(ThreadGroup parent, 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(Thread t, Throwable e)
Handle uncaught exceptions for the app.

Constructor Details

AppThreadGroup

public AppThreadGroup(ThreadGroup parent,
                      String name)
Creates new JavaAppThreadGroup
Parameters:
name - of the App

Method Details

getApplication

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

setApplication

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

uncaughtException

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