|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.boot.ClassAnnotator
public class ClassAnnotator
Provides support to annotate classes required for dynamic class loading in RMI
ClassAnnotation| Constructor Summary | |
|---|---|
ClassAnnotator(URL[] codebase)
Constructs a new ClassAnnotator for the specified codebase URLs |
|
| Method Summary | |
|---|---|
String |
getClassAnnotation()
|
URL[] |
getURLs()
Get the codebase URLs used for class annotations. |
void |
setAnnotationURLs(URL[] urls)
Replace the URLs used for class annotations. |
static String |
urisToPath(URI[] uris)
Utility method that converts a URI[] into a corresponding,
space-separated string with the same array elements. |
static String |
urlsToPath(URL[] urls)
Utility method that converts a URL[] into a corresponding,
space-separated string with the same array elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassAnnotator(URL[] codebase)
codebase - Array of URLs to use for the codebase| Method Detail |
|---|
public URL[] getURLs()
public void setAnnotationURLs(URL[] urls)
urls - The URLs used for class annotations.public String getClassAnnotation()
getClassAnnotation in interface ClassAnnotationClassAnnotation.getClassAnnotation()public static String urlsToPath(URL[] urls)
URL[] into a corresponding,
space-separated string with the same array elements. Note that if the
array has zero elements, the return value is the empty string.
urls - An array of URLs that are to be converted
public static String urisToPath(URI[] uris)
URI[] into a corresponding,
space-separated string with the same array elements. Note that if the
array has zero elements, the return value is the empty string.
uris - An array of URIs that are to be converted
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||