Top Fields Constructors Methods
org.apache.tomcat.util.security

public Class PrivilegedGetTccl

extends Object
implements PrivilegedAction<ClassLoader>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.security.PrivilegedAction

Field Summary

Modifier and TypeField and Description
private final Thread

Constructor Summary

AccessConstructor and Description
public
PrivilegedGetTccl()
Deprecated

public
PrivilegedGetTccl(Thread currentThread)

Method Summary

Modifier and TypeMethod and Description
public ClassLoader
run()

Implements java.security.PrivilegedAction.run.

Performs the computation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentThreadback to summary
private final Thread currentThread

Constructor Detail

PrivilegedGetTcclback to summary
public PrivilegedGetTccl()

Deprecated

Annotations
@Deprecated
PrivilegedGetTcclback to summary
public PrivilegedGetTccl(Thread currentThread)

Method Detail

runback to summary
public ClassLoader run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:ClassLoader

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.

Annotations
@Override