Deprecated
for removal since 17.
There is no replacement for this class.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected Class | Returns: the execution stack.Returns the current execution stack as an array of classes. |
| public Object | Returns: anAccessControlContext as specified aboveReturns an |
| public ThreadGroup |
| SecurityManager | back to summary |
|---|---|
| public SecurityManager() Constructs a new | |
| checkAccept | back to summary |
|---|---|
| public void checkAccept(String host, int port) Throws
| |
| checkAccess | back to summary |
|---|---|
| public void checkAccess(Thread t) Throws
| |
| checkAccess | back to summary |
|---|---|
| public void checkAccess(ThreadGroup g) Throws
| |
| checkConnect | back to summary |
|---|---|
| public void checkConnect(String host, int port) Throws
| |
| checkConnect | back to summary |
|---|---|
| public void checkConnect(String host, int port, Object context) Throws
| |
| checkCreateClassLoader | back to summary |
|---|---|
| public void checkCreateClassLoader() Throws
| |
| checkDelete | back to summary |
|---|---|
| public void checkDelete(String file) Throws
| |
| checkExec | back to summary |
|---|---|
| public void checkExec(String cmd) Throws
| |
| checkExit | back to summary |
|---|---|
| public void checkExit(int status) Throws
| |
| checkLink | back to summary |
|---|---|
| public void checkLink(String lib) Throws
| |
| checkListen | back to summary |
|---|---|
| public void checkListen(int port) Throws
| |
| checkMulticast | back to summary |
|---|---|
| public void checkMulticast(InetAddress maddr) Throws
| |
| checkMulticast | back to summary |
|---|---|
| public void checkMulticast(InetAddress maddr, byte ttl) Throws
| |
| checkPackageAccess | back to summary |
|---|---|
| public void checkPackageAccess(String pkg) Throws
| |
| checkPackageDefinition | back to summary |
|---|---|
| public void checkPackageDefinition(String pkg) Throws
| |
| checkPermission | back to summary |
|---|---|
| public void checkPermission(Permission perm) Throws
| |
| checkPermission | back to summary |
|---|---|
| public void checkPermission(Permission perm, Object context) Throws
| |
| checkPrintJobAccess | back to summary |
|---|---|
| public void checkPrintJobAccess() Throws
| |
| checkPropertiesAccess | back to summary |
|---|---|
| public void checkPropertiesAccess() Throws
| |
| checkPropertyAccess | back to summary |
|---|---|
| public void checkPropertyAccess(String key) Throws
| |
| checkRead | back to summary |
|---|---|
| public void checkRead(FileDescriptor fd) Throws
| |
| checkRead | back to summary |
|---|---|
| public void checkRead(String file) Throws
| |
| checkRead | back to summary |
|---|---|
| public void checkRead(String file, Object context) Throws
| |
| checkSecurityAccess | back to summary |
|---|---|
| public void checkSecurityAccess(String target) Throws
| |
| checkSetFactory | back to summary |
|---|---|
| public void checkSetFactory() Throws
| |
| checkWrite | back to summary |
|---|---|
| public void checkWrite(FileDescriptor fd) Throws
| |
| checkWrite | back to summary |
|---|---|
| public void checkWrite(String file) Throws
| |
| getClassContext | back to summary |
|---|---|
| protected Class Returns the current execution stack as an array of classes.
The length of the array is the number of methods on the execution
stack. The element at index API Note The
| |
| getSecurityContext | back to summary |
|---|---|
| public Object getSecurityContext() Returns an API Note This method originally returned a snapshot of the current
calling context, which included the current thread's access
control context and any limited privilege scope. This method has
been changed to always return an innocuous
| |
| getThreadGroup | back to summary |
|---|---|
| public ThreadGroup getThreadGroup() Returns the current Thread's
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final StackWalker |
| Access | Constructor and Description |
|---|---|
| private |
| STACK_WALKER | back to summary |
|---|---|
| pack-priv static final StackWalker STACK_WALKER | |
| StackWalkerHolder | back to summary |
|---|---|
| private StackWalkerHolder() | |