Package fr.ifremer.isisfish.util
Class ForceLoadCurrentClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
fr.ifremer.isisfish.util.ForceLoadCurrentClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
Dans le cas où une classe a été modifiée et potentiellement déjà chargée, on utilise ce classloader pour forcer
le rechargement de la classe.
Utile en particulier pour les equations qui peuvent changer pendant l'execution.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
ForceLoadCurrentClassLoader
-
-
Method Details
-
forceReloadClass
-