aicas logo Jamaica 3.4 release 8

java.lang.reflect
Class ReflectPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by 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

Constructor Summary
ReflectPermission(String name)
          Constructor for a ReflectPermission with the given name.
ReflectPermission(String name, String actions)
          Constructor for a ReflectPermission with the given name and actions.
 
Method Summary
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.