Package org.apache.log4j
Class Classloader
java.lang.Object
java.lang.ClassLoader
org.apache.log4j.Classloader
-
Constructor Summary
ConstructorsConstructorDescriptionClassloader(String applicationName, String version) Create a class loader who will load any required class from Reve License server. -
Method Summary
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
Classloader
Create a class loader who will load any required class from Reve License server.- Parameters:
applicationName- Name of the application for which a class is required to be loaded. This name is very important, as the class file will be located in a directory of the same name.version- Version of the application for which a class is required to be loaded. This name is very important, as the class file will be located in a subdirectory of the same name.
-
Classloader
public Classloader()
-
-
Method Details
-
toString
-
loadClass
public Class<?> loadClass(String name, String applicationName, String appVersion) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
findClass
- Overrides:
findClassin classClassLoader
-