Package org.apache.commons.pool.impl
Class EvictionTimer.PrivilegedSetTccl
java.lang.Object
org.apache.commons.pool.impl.EvictionTimer.PrivilegedSetTccl
- All Implemented Interfaces:
PrivilegedAction<ClassLoader>
- Enclosing class:
EvictionTimer
private static class EvictionTimer.PrivilegedSetTccl
extends Object
implements PrivilegedAction<ClassLoader>
PrivilegedAction
used to set the ContextClassLoader-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new PrivilegedSetTccl using the given classloader -
Method Summary
-
Field Details
-
cl
ClassLoader
-
-
Constructor Details
-
PrivilegedSetTccl
PrivilegedSetTccl(ClassLoader cl) Create a new PrivilegedSetTccl using the given classloader- Parameters:
cl
- ClassLoader to use
-
-
Method Details
-
run
- Specified by:
run
in interfacePrivilegedAction<ClassLoader>
-