类 DecoratingClassLoader

    • 字段详细资料

      • parallelCapableClassLoaderAvailable

        protected static final boolean parallelCapableClassLoaderAvailable
        Java 7+ ClassLoader.registerAsParallelCapable() available?
        从以下版本开始:
        4.1.2
    • 构造器详细资料

      • DecoratingClassLoader

        public DecoratingClassLoader()
        Create a new DecoratingClassLoader with no parent ClassLoader.
    • 方法详细资料

      • excludePackage

        public void excludePackage​(String packageName)
        Add a package name to exclude from decoration (e.g. overriding).

        Any class whose fully-qualified name starts with the name registered here will be handled by the parent ClassLoader in the usual fashion.

        参数:
        packageName - the package name to exclude
      • excludeClass

        public void excludeClass​(String className)
        Add a class name to exclude from decoration (e.g. overriding).

        Any class name registered here will be handled by the parent ClassLoader in the usual fashion.

        参数:
        className - the class name to exclude