com.sun.jini.example.hello
Class MdClassAnnotationProvider

java.lang.Object
  extended by java.rmi.server.RMIClassLoaderSpi
      extended by net.jini.loader.pref.PreferredClassProvider
          extended by com.sun.jini.example.hello.MdClassAnnotationProvider

public class MdClassAnnotationProvider
extends net.jini.loader.pref.PreferredClassProvider

A preferred class provider that computes HTTPMD URLs to use as the class annotation for classes in the application and bootstrap classpath. The following system properties control the HTTPMD URLs created: o export.codebase -- a space-separated list of the HTTPMD URLs for use as the codebase. The digest values specified in the URLs will be ignored. The path portion of the URLs, without the message digest parameters, will be used to specify the source files, relative to the source directory, to use for computing message digests. o export.codebase.source -- the name of the directory containing the source files corresponding to the URLs in the codebase

Author:
Sun Microsystems, Inc.

Constructor Summary
MdClassAnnotationProvider()
           
 
Method Summary
protected  String getClassAnnotation(ClassLoader loader)
           
 
Methods inherited from class net.jini.loader.pref.PreferredClassProvider
createClassLoader, getClassAnnotation, getClassLoader, loadClass, loadProxyClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MdClassAnnotationProvider

public MdClassAnnotationProvider()
                          throws IOException,
                                 MalformedURLException
Throws:
IOException
MalformedURLException
Method Detail

getClassAnnotation

protected String getClassAnnotation(ClassLoader loader)
Overrides:
getClassAnnotation in class net.jini.loader.pref.PreferredClassProvider


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.