public class PluginClassLoader extends java.security.SecureClassLoader implements PluginResourceLoader
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.Class<?> |
findClass(java.lang.String name) |
java.net.URL |
findResource(java.lang.String name) |
java.util.Enumeration<java.net.URL> |
findResources(java.lang.String name) |
java.util.ResourceBundle |
getBundle(java.lang.String baseName,
java.util.Locale locale)
作为PluginResourceLoader的方法
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
从插件中查找资源
|
void |
setTransformer(PluginClassTransformer transformer) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResource, getResources
public void setTransformer(PluginClassTransformer transformer)
public java.util.ResourceBundle getBundle(java.lang.String baseName, java.util.Locale locale)
getBundle
在接口中 PluginResourceLoader
public java.io.InputStream getResourceAsStream(java.lang.String name)
PluginResourceLoader
getResourceAsStream
在接口中 PluginResourceLoader
getResourceAsStream
在类中 java.lang.ClassLoader
name
- 资源名protected java.lang.Class<?> findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
在类中 java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.net.URL findResource(java.lang.String name)
findResource
在类中 java.lang.ClassLoader
public java.util.Enumeration<java.net.URL> findResources(java.lang.String name) throws java.io.IOException
findResources
在类中 java.lang.ClassLoader
java.io.IOException