| |
|
| java.net.URLClassLoader com.caucho.loader.DynamicClassLoader com.caucho.loader.EnvironmentClassLoader com.caucho.loader.SystemClassLoader
SystemClassLoader | public class SystemClassLoader extends EnvironmentClassLoader implements EnvironmentBean(Code) | | ClassLoader that initalizes the environment and allows byte code
enhancement of classes in the system classpath.
java -Djava.system.class.loader=com.caucho.loader.SystemClassLoader ...
If the system property "system.conf" is defined, it is used as a path
to a configuration file that initializes the enviornment. Relative paths
are relative to the current directory (See
com.caucho.vfs.Vfs.getPwd .
Resources defined in system.conf are available to all classes loaded within the jvm.
java -Dsystem.conf=tests/system.conf -Djava.system.class.loader=com.caucho.loader.SystemClassLoader ...
|
SystemClassLoader | public SystemClassLoader(ClassLoader parent)(Code) | | Creates a new SystemClassLoader.
|
initEnvironment | protected void initEnvironment()(Code) | | |
loadClassImpl | protected Class loadClassImpl(String name, boolean resolve) throws ClassNotFoundException(Code) | | Load a class using this class loader
Parameters: name - the classname to load Parameters: resolve - if true, resolve the class the loaded classes |
Methods inherited from com.caucho.loader.DynamicClassLoader | protected void addCodeBasePath(String path)(Code)(Java Doc) public void addDependency(Dependency dependency)(Code)(Java Doc) public void addJar(Path jar)(Code)(Java Doc) public void addJarManifestClassPath(Path path) throws IOException(Code)(Java Doc) final public void addListener(ClassLoaderListener listener)(Code)(Java Doc) public void addLoader(Loader loader)(Code)(Java Doc) public void addLoader(Loader loader, int offset)(Code)(Java Doc) public void addManifestClassPath(String classPath, Path pwd)(Code)(Java Doc) public void addNative(Path path)(Code)(Java Doc) public void addParentPriorityPackage(String pkg)(Code)(Java Doc) public void addParentPriorityPackages(String[] pkg)(Code)(Java Doc) public void addPathClass(String className, Path path)(Code)(Java Doc) public void addPermission(String path, String actions)(Code)(Java Doc) public void addPermission(Permission permission)(Code)(Java Doc) public void addPermissions(ArrayList<Permission> perms)(Code)(Java Doc) public void addPriorityPackage(String pkg)(Code)(Java Doc) public void addRoot(Path root)(Code)(Java Doc) public void addTransformer(ClassFileTransformer transformer)(Code)(Java Doc) public void addURL(Path path)(Code)(Java Doc) public void addURL(URL url)(Code)(Java Doc) public void addURL(int index, URL url)(Code)(Java Doc) public void appendToClassPathForInstrumentation(String path)(Code)(Java Doc) final protected void buildClassPath(StringBuilder head)(Code)(Java Doc) final protected void buildResourcePathSpecificFirst(ArrayList<String> pathList)(Code)(Java Doc) final protected void buildSourcePath(StringBuilder head)(Code)(Java Doc) final public void clearModified()(Code)(Java Doc) protected Package definePackage(String name, String a1, String a2, String a3, String b1, String b2, String b3, URL url)(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected Class findClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected Class findClassImpl(String name) throws ClassNotFoundException(Code)(Java Doc) public String findLibrary(String name)(Code)(Java Doc) public Path findPath(String name)(Code)(Java Doc) public Enumeration<URL> findResources(String name)(Code)(Java Doc) protected ClassEntry getClassEntry(String name) throws ClassNotFoundException(Code)(Java Doc) final public String getClassPath()(Code)(Java Doc) public long getDependencyCheckInterval()(Code)(Java Doc) public static long getGlobalDependencyCheckInterval()(Code)(Java Doc) public String getId()(Code)(Java Doc) public ClassLoader getInstrumentableClassLoader()(Code)(Java Doc) protected ArrayList<ClassLoaderListener> getListeners()(Code)(Java Doc) public ArrayList<Loader> getLoaders()(Code)(Java Doc) final public String getLocalClassPath()(Code)(Java Doc) public ClassLoader getNewTempClassLoader()(Code)(Java Doc) public ArrayList<Permission> getPermissions()(Code)(Java Doc) protected PermissionCollection getPermissions(CodeSource codeSource)(Code)(Java Doc) public URL getResource(String name)(Code)(Java Doc) public InputStream getResourceAsStream(String name)(Code)(Java Doc) final public String getResourcePathSpecificFirst()(Code)(Java Doc) public SecurityManager getSecurityManager()(Code)(Java Doc) final public String getSourcePath()(Code)(Java Doc) public ClassLoader getThrowawayClassLoader()(Code)(Java Doc) protected ArrayList<ClassFileTransformer> getTransformerList()(Code)(Java Doc) public URL[] getURLs()(Code)(Java Doc) public void init()(Code)(Java Doc) public boolean isDestroyed()(Code)(Java Doc) public static boolean isJarCacheEnabled()(Code)(Java Doc) final public boolean isModified()(Code)(Java Doc) final public boolean isModified(boolean enable)(Code)(Java Doc) public static boolean isModified(ClassLoader loader)(Code)(Java Doc) final public boolean isModifiedNow()(Code)(Java Doc) public Class> loadClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc) protected Class loadClass(ClassEntry entry) throws IOException, ClassNotFoundException(Code)(Java Doc) protected Class loadClassImpl(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc) final public boolean logModified(Logger log)(Code)(Java Doc) final public void make() throws Exception(Code)(Java Doc) final public void removeListener(ClassLoaderListener listener)(Code)(Java Doc) protected void replace(DynamicClassLoader source)(Code)(Java Doc) final public void resetDependencyCheckInterval()(Code)(Java Doc) public void scan()(Code)(Java Doc) final protected void sendAddLoaderEvent()(Code)(Java Doc) protected void sendAddLoaderEventImpl()(Code)(Java Doc) public void setDependencyCheckInterval(long interval)(Code)(Java Doc) public void setEnableDependencyCheck(boolean enable)(Code)(Java Doc) public static void setGlobalDependencyCheckInterval(long interval)(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public static void setJarCacheEnabled(boolean isEnabled)(Code)(Java Doc) public static void setOldLoader(Thread thread, ClassLoader oldLoader)(Code)(Java Doc) public void setServletHack(boolean servletHack)(Code)(Java Doc) public void stop()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void validate() throws ConfigException(Code)(Java Doc)
|
|
|
|