Sim IJskes - QCG wrote:
On 10/07/2010 09:57 PM, Michal Kleczek wrote:
1. We annotate classes with an object implementing Module interface:
interface Module {
//methods copied from ClassLoading but there is no annotation
argument
Class loadClass(...);
Class loadProxyClass();
}
> This makes class loading pluggable - a service can designate it's
own class
> loading mechanism.
By changing the annotation from a final class into a interface, you
have created another deployment issue. Code containing the
implementation should already be accessible by the local classloader.
Lets keep it a String.
Gr. Sim
The bootstrap RMIModule is for that purpose, let's give Michal some more
time to demonstrate it, if it eliminates the DOS hole then that's good
enough for me.
Cheers,
Peter.