Class EvictionTimer.PrivilegedSetTccl

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.lang.ClassLoader>
    Enclosing class:
    EvictionTimer

    private static class EvictionTimer.PrivilegedSetTccl
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.lang.ClassLoader>
    PrivilegedAction used to set the ContextClassLoader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ClassLoader cl
      ClassLoader
    • Constructor Summary

      Constructors 
      Constructor Description
      PrivilegedSetTccl​(java.lang.ClassLoader cl)
      Create a new PrivilegedSetTccl using the given classloader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.ClassLoader run()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cl

        private final java.lang.ClassLoader cl
        ClassLoader
    • Constructor Detail

      • PrivilegedSetTccl

        PrivilegedSetTccl​(java.lang.ClassLoader cl)
        Create a new PrivilegedSetTccl using the given classloader
        Parameters:
        cl - ClassLoader to use
    • Method Detail

      • run

        public java.lang.ClassLoader run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.lang.ClassLoader>