java.lang.reflect
Class ReflectPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
java.lang.reflect.ReflectPermission
- All Implemented Interfaces:
- Serializable, Guard
public final class ReflectPermission
- extends BasicPermission
ReflectPermission is a named permission. With name
supressAccessChecks, it permits reflective access to fields and
methods that would otherwise not be accessible (since they are
private, protected, etc.).
- Since:
- 1.2
- See Also:
- Serialized Form
ReflectPermission
public ReflectPermission(String name)
- Constructor for a ReflectPermission with the given name.
- Parameters:
name - the name of this permission. The only defined name is
supressAccessChecks.
ReflectPermission
public ReflectPermission(String name,
String actions)
- Constructor for a ReflectPermission with the given name and
actions. Currently, no actions are defined.
- Parameters:
name - the name of this permission. The only defined name is
supressAccessChecks.actions - no actions are defined yet.
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.