com.sun.jini.example.hello
Class MdClassAnnotationProvider
java.lang.Object
java.rmi.server.RMIClassLoaderSpi
net.jini.loader.pref.PreferredClassProvider
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.
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 |
MdClassAnnotationProvider
public MdClassAnnotationProvider()
throws IOException,
MalformedURLException
- Throws:
IOException
MalformedURLException
getClassAnnotation
protected String getClassAnnotation(ClassLoader loader)
- Overrides:
getClassAnnotation
in class net.jini.loader.pref.PreferredClassProvider
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.