------------------------
ClassLoader |
------------------------
# Àà¼ÓÔØÆ÷, ÊÇÒ»¸ö³éÏóÀà
# ¹¹Ô캯Êý
protected ClassLoader()
protected ClassLoader(ClassLoader parent)
# ¾²Ì¬·½·¨
protected static boolean registerAsParallelCapable()
protected final void resolveClass(Class> c)
public static ClassLoader getSystemClassLoader()
public static URL getSystemResource(String name)
public static InputStream getSystemResourceAsStream(String name)
public static Enumeration getSystemResources(String name)
# ʵÀýº¯Êý
@Deprecated
protected final Class> defineClass(byte[] b, int off, int len)
protected final Class> defineClass(String name, byte[] b, int off, int len)
protected final Class> defineClass(String name, byte[] b, int off, int len,ProtectionDomain protectionDomain)
protected final Class> defineClass(String name, java.nio.ByteBuffer b, ProtectionDomain protectionDomain)
* ¸ù¾Ý×Ö½ÚÊý¾Ý´´½¨Ò»¸öÀà
protected Class> findClass(String name)
* ¿ÕµÄ·½·¨, ×Ô¼ºÊµÏֵļÓÔØÆ÷½¨Ò鸲д¸Ã·½·¨
protected Class> loadClass(String name, boolean resolve)
public Class> loadClass(String name)
* ¼ÓÔØ·½·¨
name Àà·½·¨Ãû³Æ
resolve ÊÇ·ñ½âÎö³õʼ»¯Àà
protected Package definePackage(String name, String specTitle,String specVersion, String specVendor, String implTitle, String implVersion,String implVendor, URL sealBase)
protected String findLibrary(String libname)
protected final Class> findLoadedClass(String name)
protected URL findResource(String name)
protected Enumeration findResources(String name)
protected final Class> findSystemClass(String name)
protected Object getClassLoadingLock(String className
protected Package getPackage(String name)
protected Package[] getPackages()
protected final void setSigners(Class> c, Object[] signers)
public void clearAssertionStatus()
public final ClassLoader getParent()
public URL getResource(String name)
public InputStream getResourceAsStream(String name)
public Enumeration getResources(String name)
public void setClassAssertionStatus(String className, boolean enabled)
public void setDefaultAssertionStatus(boolean enabled)
public void setPackageAssertionStatus(String packageName, boolean enabled)