public class ClassAnnotator extends Object implements ClassAnnotation
ClassAnnotation| Constructor and Description | 
|---|
ClassAnnotator(URL[] codebase,
              Properties props)
Constructs a new ClassAnnotator for the specified codebase URLs 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getClassAnnotation()
Returns the class annotation string for classes defined by this class loader. 
 | 
protected Properties | 
getProperties()
Get the properties 
 | 
URL[] | 
getURLs()
Get the codebase URLs used for class annotations. 
 | 
void | 
setAnnotationURLs(URL[] urls)
Replace the URLs used for class annotations. 
 | 
static String | 
urlsToPath(URL[] urls)
Utility method that converts a  
URL[] into a corresponding, space-separated
 string with the same array elements. | 
public ClassAnnotator(URL[] codebase, Properties props)
codebase - Array of URLs to use for the codebaseprops - Optional properties a ClassAnnotator may use to control behaviorpublic URL[] getURLs()
public void setAnnotationURLs(URL[] urls)
urls - The URLs used for class annotations.public String getClassAnnotation()
ClassAnnotationnull.getClassAnnotation in interface ClassAnnotationnullClassAnnotation.getClassAnnotation()protected Properties getProperties()
Copyright © GigaSpaces.