Microsoft SDK for Java

setAssociatedLoader

This method of the ReflectionPermission Class sets the class loader that this permission is associated with. The associated class loader should be the class loader that loaded the classes that this permission will be assigned to. The loader access type SAMELOADER refers to the class loader set by this method.

Syntax

public void setAssociatedLoader(ClassLoader ldr);

Parameters

ldr The class loader object.

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