Microsoft SDK for Java

adjustWithReflectionLoader

This method of the PermissionDataSet Class adjusts a PermissionDataSet with a class loader that indicates whether reflection access to a given class is allowed.

Syntax

public void adjustWithReflectionLoader(ClassLoader cl);

Parameters

cl The class loader instance to pass as the second parameter when calling the adjustPermission method on the permission objects.

Remarks

This method calls adjustPermission("classloader",cl) on all the permission objects in the set that implement the IAdjustablePermission interface.

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