Build 1.0_r1(from source)

java.lang
Class RuntimePermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by java.lang.RuntimePermission
All Implemented Interfaces:
Serializable, Guard

public final class RuntimePermission
extends BasicPermission

RuntimePermission objects represent access to runtime support.

See Also:
Serialized Form

Field Summary
(package private) static RuntimePermission permissionToCreateClassLoader
           
(package private) static RuntimePermission permissionToCreateSecurityManager
           
(package private) static RuntimePermission permissionToExitVM
           
(package private) static RuntimePermission permissionToGetClassLoader
           
(package private) static RuntimePermission permissionToGetProtectionDomain
           
(package private) static RuntimePermission permissionToModifyThread
           
(package private) static RuntimePermission permissionToModifyThreadGroup
           
(package private) static RuntimePermission permissionToQueuePrintJob
           
(package private) static RuntimePermission permissionToReadFileDescriptor
           
(package private) static RuntimePermission permissionToSetContextClassLoader
           
(package private) static RuntimePermission permissionToSetFactory
           
(package private) static RuntimePermission permissionToSetIO
           
(package private) static RuntimePermission permissionToSetSecurityManager
          Constants for runtime permissions used in this package.
(package private) static RuntimePermission permissionToStopThread
           
(package private) static RuntimePermission permissionToWriteFileDescriptor
           
 
Constructor Summary
RuntimePermission(String permissionName)
          Creates an instance of this class with the given name.
RuntimePermission(String name, String actions)
          Creates an instance of this class with the given name and action list.
 
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
 

Field Detail

permissionToSetSecurityManager

static final RuntimePermission permissionToSetSecurityManager
Constants for runtime permissions used in this package.


permissionToCreateSecurityManager

static final RuntimePermission permissionToCreateSecurityManager

permissionToGetProtectionDomain

static final RuntimePermission permissionToGetProtectionDomain

permissionToGetClassLoader

static final RuntimePermission permissionToGetClassLoader

permissionToCreateClassLoader

static final RuntimePermission permissionToCreateClassLoader

permissionToModifyThread

static final RuntimePermission permissionToModifyThread

permissionToModifyThreadGroup

static final RuntimePermission permissionToModifyThreadGroup

permissionToExitVM

static final RuntimePermission permissionToExitVM

permissionToReadFileDescriptor

static final RuntimePermission permissionToReadFileDescriptor

permissionToWriteFileDescriptor

static final RuntimePermission permissionToWriteFileDescriptor

permissionToQueuePrintJob

static final RuntimePermission permissionToQueuePrintJob

permissionToSetFactory

static final RuntimePermission permissionToSetFactory

permissionToSetIO

static final RuntimePermission permissionToSetIO

permissionToStopThread

static final RuntimePermission permissionToStopThread

permissionToSetContextClassLoader

static final RuntimePermission permissionToSetContextClassLoader
Constructor Detail

RuntimePermission

public RuntimePermission(String permissionName)
Creates an instance of this class with the given name.

Parameters:
permissionName - String the name of the new permission.

RuntimePermission

public RuntimePermission(String name,
                         String actions)
Creates an instance of this class with the given name and action list. The action list is ignored.

Parameters:
name - String the name of the new permission.
actions - String ignored.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature