Lines Matching defs:codebase

143      * could not be found at the codebase location
156 * Loads a class from a codebase URL.
158 * If <code>codebase</code> is <code>null</code>, then this method
160 * <code>null</code> <code>codebase</code> and the given class name.
166 * <code>codebase</code> is null) as the first argument,
170 * @param codebase the URL to load the class from, or <code>null</code>
176 * @throws MalformedURLException if <code>codebase</code> is
183 public static Class<?> loadClass(URL codebase, String name)
187 codebase != null ? codebase.toString() : null, name, null);
191 * Loads a class from a codebase URL path.
195 * method of the provider instance, passing <code>codebase</code>
199 * @param codebase the list of URLs (separated by spaces) to load
206 * @throws MalformedURLException if <code>codebase</code> is
208 * <code>codebase</code> is <code>null</code> and a provider-specific
216 public static Class<?> loadClass(String codebase, String name)
219 return provider.loadClass(codebase, name, null);
223 * Loads a class from a codebase URL path, optionally using the
232 * codebase URL path.
236 * method of the provider instance, passing <code>codebase</code>
240 * @param codebase the list of URLs (separated by spaces) to load
250 * @throws MalformedURLException if <code>codebase</code> is
252 * <code>codebase</code> is <code>null</code> and a provider-specific
260 public static Class<?> loadClass(String codebase, String name,
264 return provider.loadClass(codebase, name, defaultLoader);
270 * from a codebase URL path.
274 * <code>codebase</code>.
278 * method of the provider instance, passing <code>codebase</code>
282 * @param codebase the list of URLs (space-separated) to load
293 * @throws MalformedURLException if <code>codebase</code> is
295 * if <code>codebase</code> is <code>null</code> and a provider-specific
307 public static Class<?> loadProxyClass(String codebase, String[] interfaces,
311 return provider.loadProxyClass(codebase, interfaces, defaultLoader);
315 * Returns a class loader that loads classes from the given codebase
320 * for the same <code>codebase</code> argument.
324 * of the provider instance, passing <code>codebase</code> as the argument.
332 * connect to all of the URLs in the codebase URL path.
334 * @param codebase the list of URLs (space-separated) from which
337 * @return a class loader that loads classes from the given codebase URL
340 * @throws MalformedURLException if <code>codebase</code> is
342 * if <code>codebase</code> is <code>null</code> and a provider-specific
348 * URLs in the codebase URL path
352 public static ClassLoader getClassLoader(String codebase)
355 return provider.getClassLoader(codebase);
417 * representing the codebase URL path that a remote party should
422 * The codebase string returned depends on the defining class
432 * <code>java.rmi.server.codebase</code> property (or possibly an
443 * required to get the associated codebase string. If it is an
451 * then the value of the <code>java.rmi.server.codebase</code>
457 * <code>java.rmi.server.codebase</code> property (or possibly an
465 * <code>codebase</code> that is a space-separated list of URLs,
466 * each invocation has an associated <i>codebase loader</i> that
467 * is identified using the <code>codebase</code> argument in
473 * class loader and their codebase URL path (an ordered list of
474 * URLs). If the <code>codebase</code> argument is <code>null</code>,
475 * the codebase URL path is the value of the system property
476 * <code>java.rmi.server.codebase</code> or possibly an
477 * earlier cached value. For a given codebase URL path passed as the
478 * <code>codebase</code> argument to an invocation of one of the
479 * below methods in a given context, the codebase loader is the
480 * loader in the table with the specified codebase URL path and
488 * security manager set, the codebase loader is just the current
489 * thread's context class loader (the supplied codebase URL path
493 * getClassLoader}</b> method returns the codebase loader for the
494 * specified codebase URL path. If there is a security manager,
496 * to all of the URLs in the codebase URL path, a
521 * class with the specified <code>name</code> using the codebase
522 * loader for the specified codebase URL path.
525 * codebase URL path; otherwise, the current thread's context
526 * class loader will be used instead of the codebase loader.
548 * the codebase loader; if that attempt throws an
568 * through the codebase loader, then,
574 * resolved interfaces in the codebase loader. If the attempt
633 public Class<?> loadClass(String codebase, String name,
638 codebase, name, defaultLoader);
641 public Class<?> loadProxyClass(String codebase,
647 codebase, interfaces, defaultLoader);
650 public ClassLoader getClassLoader(String codebase)
653 return sun.rmi.server.LoaderHandler.getClassLoader(codebase);