⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classloadermanager.java

📁 树形的java classloader,树形的java classloader,树形的java classloader,
💻 JAVA
字号:
package org.codehaus.classloader;

import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;

/**
 * Implementation of this interface is responsible for managing sibling ClassLoader or ClassProvider
 * in a tree hierarchy
 * <p>
 * @author Ben Yu
 * Aug 3, 2006 5:09:48 AM
 */
public interface ClassLoaderManager {

  /**
   * Find a class.
   * @param except look into everything except this.
   * @param name the class name.
   * @return the class object.
   * @throws ClassNotFoundException if class cannot be found.
   */
  Class lookupClass(Object except, String name)
      throws ClassNotFoundException;

  /**
   * Find a library.
   * @param except look into everything except this.
   * @param libname the library name.
   * @return the library.
   */
  String lookupLibrary(Object except, String libname);

  /**
   * Find a resource
   * @param except look into everything except this.
   * @param name the resource name.
   * @return
   */
  URL lookupResource(Object except, String name);

  /**
   * Find resources for a given name.
   * @param except look into everything except this.
   * @param name the resource name.
   * @return the resource Enumeration.
   * @throws IOException if anything wrong.
   */
  Enumeration lookupResources(Object except, String name)
      throws IOException;

  /**
   * Find a package.
   * @param except look into everything except this.
   * @param name the package name.
   * @return the package object.
   */
  //Package lookupPackage(Object except, String name);

  /**
   * Find packages.
   * @param except look into everything except this.
   * @return the packages.
   */
  //Package[] lookupPackages(Object except);

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -