Class ClassRef
- java.lang.Object
- 
- com.opencloud.rhino.management.deployment.audit.ClassRef
 
- 
- All Implemented Interfaces:
- Serializable
 
 public final class ClassRef extends Object implements Serializable This class defines a reference to a class and the set of component classes that refer to it. It may optionally also contain the multiple classloader paths by which the referenced class can be resolved by the referencing classes. - See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddReferencingClasses(String classname)Add a referencing class.StringgetReferencedClass()Get the referenced class name.Set<String>getReferencingClasses()Get the set of referencing classes.Collection<List<String>>getResolvePaths()Set the collection of dependency graphs through which the referenced class can be resolved.voidsetResolvePaths(Collection<List<String>> resolvePaths)Set the collection of dependency graphs through which the referenced class can be resolved.
 
- 
- 
- 
Constructor Detail- 
ClassRefpublic ClassRef(String referencedClass) Create a new ClassRefobject.- Parameters:
- referencedClass- the name of the referenced class.
 
 
- 
 - 
Method Detail- 
getReferencedClasspublic String getReferencedClass() Get the referenced class name. - Returns:
- the referenced class name.
 
 - 
addReferencingClassespublic void addReferencingClasses(String classname) Add a referencing class. - Parameters:
- classname- the name of the referencing class.
 
 - 
getReferencingClassespublic Set<String> getReferencingClasses() Get the set of referencing classes. - Returns:
- the set of referencing classes.
 
 - 
setResolvePathspublic void setResolvePaths(Collection<List<String>> resolvePaths) Set the collection of dependency graphs through which the referenced class can be resolved. Each Stringelement is a description of a classloader that is a node in the dependency graph.- Parameters:
- resolvePaths- the collection of dependency graphs through which the referenced class can be resolved.
 
 - 
getResolvePathspublic Collection<List<String>> getResolvePaths() Set the collection of dependency graphs through which the referenced class can be resolved. Each Stringelement is a description of a classloader that is a node in the dependency graph.- Returns:
- the collection of dependency graphs through which the referenced class can be resolved.
 
 
- 
 
-