Class Util.ClassContextSecurityManager

  • Enclosing class:
    Util

    private static final class Util.ClassContextSecurityManager
    extends java.lang.SecurityManager
    In order to call SecurityManager.getClassContext(), which is a protected method, we add this wrapper which allows the method to be visible inside this package.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Class<?>[] getClassContext()  
      • Methods inherited from class java.lang.SecurityManager

        checkAccept, checkAccess, checkAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkWrite, checkWrite, getSecurityContext, getThreadGroup
      • Methods inherited from class java.lang.Object

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

      • ClassContextSecurityManager

        private ClassContextSecurityManager()
    • Method Detail

      • getClassContext

        protected java.lang.Class<?>[] getClassContext()
        Overrides:
        getClassContext in class java.lang.SecurityManager