Microsoft SDK for Java

getAllowedPublicAccess

This method of the ReflectionPermission Class retrieves the types of classes that the permission object allows public access to.

Syntax

public int getAllowedPublicAccess();

Return Value

Returns the types of classes that the permission object allows public access to. This will be one of the following: SAMELOADER, DIFFERENTLOADER, SYSTEMLOADER, ALL, or NONE.

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