类 BizModuleClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- java.net.URLClassLoader
-
- io.esastack.cabin.container.service.loader.AbstractClassLoader
-
- io.esastack.cabin.container.service.loader.BizModuleClassLoader
-
- 所有已实现的接口:
Closeable,AutoCloseable
- 直接已知子类:
UnitTestModuleClassLoader
public class BizModuleClassLoader extends AbstractClassLoader
-
-
字段概要
-
从类继承的字段 io.esastack.cabin.container.service.loader.AbstractClassLoader
classLoaderService, moduleName, sharedClassService, sharedResourceService
-
-
构造器概要
构造器 限定符 构造器 说明 protectedBizModuleClassLoader(String moduleName, URL[] urls)BizModuleClassLoader(URL[] urls)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected URLgetResource0(String name)Pay attention to the priority of finding resource: jdk, exported, bizprotected Enumeration<URL>getResources0(String name)Pay attention to the priority of finding resource: jdk, exported, bizprotected Class<?>loadClass0(String name, boolean resolve)-
从类继承的方法 io.esastack.cabin.container.service.loader.AbstractClassLoader
debugClassLoadMessage, getBizResource, getBizResources, getExportResource, getExportResources, getJavaAgentResource, getJavaAgentResources, getJdkResource, getJdkResources, getLocalResource, getLocalResources, getModuleName, getResource, getResources, loadAgentClass, loadBizClass, loadCabinClass, loadClass, loadClassFromClasspath, loadFromRecords, loadImportClassFromBiz, loadJdkClass, loadLocalClass, loadSharedClass, shouldImportClassFromBiz
-
从类继承的方法 java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
-
从类继承的方法 java.security.SecureClassLoader
defineClass, defineClass
-
从类继承的方法 java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
方法详细资料
-
loadClass0
protected Class<?> loadClass0(String name, boolean resolve) throws CabinLoaderException
- 指定者:
loadClass0在类中AbstractClassLoader- 抛出:
CabinLoaderException
-
getResources0
protected Enumeration<URL> getResources0(String name) throws IOException
从类复制的说明:AbstractClassLoaderPay attention to the priority of finding resource: jdk, exported, biz- 指定者:
getResources0在类中AbstractClassLoader- 抛出:
IOException
-
getResource0
protected URL getResource0(String name)
从类复制的说明:AbstractClassLoaderPay attention to the priority of finding resource: jdk, exported, biz- 指定者:
getResource0在类中AbstractClassLoader
-
-