Microsoft SDK for Java

setThreadGroup

This method of the SecurityClassLoader Class sets the thread group associated with the class loader. Call this method before using the loader to load classes.

Syntax

protected void setThreadGroup(ThreadGroup tg);

Parameters

tg The thread group to associate with the class loader.

Exceptions

SecurityException if the loader already has an associated ThreadGroup object.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.