Home | History | Annotate | Download | only in javassist

Lines Matching full:loader

24  * The class loader for Javassist.
26 * <p>This is a sample class loader using <code>ClassPool</code>.
27 * Unlike a regular class loader, this class loader obtains bytecode
30 * <p>Note that Javassist can be used without this class loader; programmers
31 * can define their own versions of class loader. They can run
32 * a program even without any user-defined class loader if that program
34 * This class loader is just provided as a utility class.
49 * Loader cl = new Loader(cp);
85 * Loader cl = new Loader(cp);
95 * <p>This class loader does not allow the users to intercept the loading
98 * <code>Loader.doDelegation</code> is <code>false</code>. This is because
99 * the JVM prohibits a user class loader from loading a system class.
101 * If this behavior is not appropriate, a subclass of <code>Loader</code>
108 * loader <code>CL</code>, all classes that the class <code>C</code>
112 * are loaded by a parent class loader <code>CL'</code>
119 * <p>Because of the fact above, this loader delegates only the loading of
120 * <code>javassist.Loader</code>
123 * loader. Other classes are directly loaded by this loader.
126 * by this loader while <code>java.io.File</code> is loaded by the parent
127 * class loader. If the constructor of <code>java.io.File</code> is called
130 * <code>java.lang.String</code> loaded by the parent class loader.
135 public class Loader extends ClassLoader {
145 * <p>This class loader uses the parent class loader for
148 * is <code>false</code>, this class loader does not delegate those
149 * classes to the parent class loader.
156 * Creates a new class loader.
158 public Loader() {
163 * Creates a new class loader.
167 public Loader(ClassPool cp) {
172 * Creates a new class loader
173 * using the specified parent class loader for delegation.
175 * @param parent the parent class loader.
178 public Loader(ClassLoader parent, ClassPool cp) {
189 delegateLoadingOf("javassist.Loader");
194 * to the parent class loader.
209 * loader. Without registering an appropriate protection domain,
210 * the program loaded by this loader will not work with a security
241 * Loads a class with an instance of <code>Loader</code>
253 * @see javassist.Loader#run(String[])
256 Loader cl = new Loader();
300 * Requests the class loader to load a class.
328 * <code>Loader</code>. Note that the overridden method must not throw
388 * class loader.
390 * of LookAndFeel by a system class loader and cast
394 * by this class loader.