Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » lang » reflect » [javadoc | source]
java.lang.reflect
public final class: ReflectPermission [javadoc | source]
java.lang.Object
   java.security.Permission
      java.security.BasicPermission
         java.lang.reflect.ReflectPermission

All Implemented Interfaces:
    Serializable, Guard

A {@code ReflectPermission} object represents a permission to access operations in the reflection layer.
Constructor:
 public ReflectPermission(String permissionName) 
    Constructs a new {@code ReflectPermission} instance with the specified name.
    Parameters:
    permissionName - the name of the new permission
    Throws:
    IllegalArgumentException - if {@code name} is empty
    NullPointerException - if {@code name} is {@code null}
 public ReflectPermission(String name,
    String actions) 
    Constructs a new {@code ReflectPermission} instance with the specified name and action list. The action list will be ignored.
    Parameters:
    name - the name of the new permission
    actions - this parameter will be ignored
    Throws:
    IllegalArgumentException - if {@code name} is empty
    NullPointerException - if {@code name} is {@code null}
Methods from java.security.BasicPermission:
equals,   getActions,   hashCode,   implies,   nameImplies,   newPermissionCollection
Methods from java.security.Permission:
checkGuard,   equals,   getActions,   getName,   hashCode,   implies,   newPermissionCollection,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait