Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface cornell.slk.jkernel.core.Resolver

Source code
Implementing Classes:
GenCodeResolver, SystemResolver, CompoundResolver, TableResolver, FilterResolver, URLResolver, FileResolver

public interface Resolver
extends Remote
Given a class name, a Resolver looks up bytecode or a shared class.


Method Summary
java.lang.Object  resolveClassName(java.lang.String name)
resolveClassName decides what class should be used for a particular class name.
 

Method Detail

resolveClassName

public java.lang.Object resolveClassName(java.lang.String name) throws RemoteException
resolveClassName decides what class should be used for a particular class name. Given a name (which must be a fully qualified class name), resolveClassName must do one of the following three things:

If resolveClassName returns an invalid argument, then some exception (such as ClassNotFoundException) may be thrown by the virtual machine. The exact behavior hasn't been specified yet.

A task has a resolver or list of resolvers that it uses to resolve class names. A task will never query its resolver(s) with the same class name twice. Therefore, a resolver object that handles requests for a single task does not need to keep a table caching the answers that it gave. It is possible, by using cross-task communication, for a resolver to handle requests for more than one task. In this case, the resolver may cache information if it desires (for performace reasons), although it is generally not necessary.

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS