Package com.eka.middleware.service
Class CustomClassLoader
java.lang.Object
java.lang.ClassLoader
com.eka.middleware.service.CustomClassLoader
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomClassLoader
(String fqn, String[] paths, ClassLoader parent, DataPipeline dp) -
Method Summary
Modifier and TypeMethodDescriptionfindMyLoadedClass
(String name) Class<?>
loadClassFromJar
(JarFile jar) void
loadCustomJars
(String fqn, String[] paths) reloadClass
(String fqn, Class<?> clazz, String path) void
resetClassLoader
(String fqn, String[] paths, ClassLoader parent, DataPipeline dp) Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
Field Details
-
LOGGER
public static org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
CustomClassLoader
-
-
Method Details
-
resetClassLoader
-
loadCustomJars
-
loadClassFromJar
- Throws:
Exception
-
loadClass
- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
findClass
- Throws:
ClassNotFoundException
-
findMyLoadedClass
- Throws:
ClassNotFoundException
-
reloadClass
-