Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


RuntimePermissionjava.lang

Java 1.2serializable permission


This class is a
java.security.Permission that represents access to
various important system facilities. A
RuntimePermission has a name, or target, that
represents the facility for which permission is being sought or
granted. The name "exitVM"
represents permission to call System.exit( ), and
the name
"accessClassInPackage.java.lang"
represents permission to read classes from the
java.lang package. The name of a
RuntimePermission may use a
".*" suffix as a wildcard. For
example, the name
"accessClassInPackage.java.*"
represents permission to read classes from any package whose name
begins with "java.".
RuntimePermission does not use action list strings
as some Permission classes do; the name of the
permission alone is enough.

The following are supported RuntimePermssion names:


accessClassInPackage.package


getProtectionDomain


setFactory


accessDeclaredMembers


loadLibrary

.li brary_name


setIO


createClassLoader


modifyThread


setSecurityManager


createSecurityManager


modifyThreadGroup


stopThread


defineClassInPackage.package


queuePrintJob


writeFileDescriptor


exitVM


readFileDescriptor


getClassLoader


set-ContextClassLoader

System administrators configuring
security policies should be familiar with these permission names, the
operations they govern access to, and with the risks inherent in
granting any of them. Although system programmers may need to work
with this class, application programmers should never need to use
RuntimePermssion directly.


Figure 10-53. java.lang.RuntimePermission

public final class

RuntimePermission extends java.security.BasicPermission {
// Public Constructors
public

RuntimePermission (String

name );
public

RuntimePermission (String

name , String

actions );
}



    / 1191