模块 org.redkale
程序包 org.redkale.util

类 RedkaleClassLoader

    • 字段详细资料

      • RESOURCE_CACHE_CLASSES_PATH

        public static final String RESOURCE_CACHE_CLASSES_PATH
        另请参阅:
        常量字段值
      • RESOURCE_CACHE_CONF_PATH

        public static final String RESOURCE_CACHE_CONF_PATH
        另请参阅:
        常量字段值
      • URI_NONE

        public static final URI URI_NONE
    • 构造器详细资料

      • RedkaleClassLoader

        public RedkaleClassLoader​(ClassLoader parent)
      • RedkaleClassLoader

        public RedkaleClassLoader​(URL[] urls,
                                  ClassLoader parent)
    • 方法详细资料

      • getConfResourceAsURI

        public static URI getConfResourceAsURI​(String confURI,
                                               String file)
      • putBundleResource

        public static void putBundleResource​(String name,
                                             String locale)
      • putResourcePath

        public static void putResourcePath​(String name)
      • forEachResourcePath

        public static void forEachResourcePath​(Consumer<String> action)
      • forEachBuildClass

        public static void forEachBuildClass​(Consumer<String> action)
      • forEachBuildPackage

        public static void forEachBuildPackage​(Consumer<String> action)
      • putDynClass

        public static byte[] putDynClass​(String name,
                                         byte[] bs,
                                         Class clazz)
      • findDynClass

        public static Class findDynClass​(String name)
      • forEachDynClass

        public static void forEachDynClass​(BiConsumer<String,​byte[]> action)
      • putReflectionClass

        public static void putReflectionClass​(String className)
      • putServiceLoader

        public static void putServiceLoader​(Class clazz)
      • putReflectionField

        public static void putReflectionField​(String className,
                                              Field field)
      • putReflectionMethod

        public static void putReflectionMethod​(String className,
                                               Method method)
      • putReflectionDeclaredConstructors

        public static void putReflectionDeclaredConstructors​(Class clazz,
                                                             String className,
                                                             Class... cts)
      • putReflectionPublicConstructors

        public static void putReflectionPublicConstructors​(Class clazz,
                                                           String className)
      • putReflectionDeclaredMethods

        public static void putReflectionDeclaredMethods​(String className)
      • putReflectionPublicMethods

        public static void putReflectionPublicMethods​(String className)
      • putReflectionDeclaredFields

        public static void putReflectionDeclaredFields​(String className)
      • putReflectionPublicFields

        public static void putReflectionPublicFields​(String className)
      • putReflectionDeclaredClasses

        public static void putReflectionDeclaredClasses​(String className)
      • putReflectionPublicClasses

        public static void putReflectionPublicClasses​(String className)
      • loadClass

        public Class<?> loadClass​(String name,
                                  byte[] b)
      • forEachCacheClass

        public void forEachCacheClass​(Consumer<String> action)
      • addURI

        public void addURI​(URI uri)
      • getAllURIs

        public URI[] getAllURIs()