Class StubClassLoader
- java.lang.Object
- 
- es.bsc.dataclay.util.management.stubs.StubClassLoader
 
- 
 public final class StubClassLoader extends Object This utility class is used for class loading of stubs and set of Session IDs.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgetClasses(String actualSrcDir, File srcDirectory, Set<String> classNames, String extension, Set<String> packagesToExclude)Get class names except ones in package providedstatic Map<String,StubInfo>getStubInfosFromClassPath(String stubClassPath)Get the stub info of all stub classes in the provided class path
 
- 
- 
- 
Method Detail- 
getClassespublic static void getClasses(String actualSrcDir, File srcDirectory, Set<String> classNames, String extension, Set<String> packagesToExclude) Get class names except ones in package provided- Parameters:
- actualSrcDir- Actual directory
- srcDirectory- directories
- classNames- [out] File names
- extension- Extension of classes to check
- packagesToExclude- Packages to exclude
 
 - 
getStubInfosFromClassPathpublic static Map<String,StubInfo> getStubInfosFromClassPath(String stubClassPath) throws Exception Get the stub info of all stub classes in the provided class path- Parameters:
- stubClassPath- Class path
- Returns:
- A set of information of all stubs in provided class path
- Throws:
- Exception- If some class was not found in class path and should be, or could not initialize paraver trace if needed.
 
 
- 
 
-