Package de.hybris.bootstrap.loader
Class PlatformInPlaceClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
de.hybris.bootstrap.loader.YURLClassLoader
de.hybris.bootstrap.loader.PlatformInPlaceClassLoader
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.bootstrap.loader.YURLClassLoader
YURLClassLoader.TYPE -
Constructor Summary
ConstructorsConstructorDescriptionPlatformInPlaceClassLoader(PlatformConfig platformConfig, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup) PlatformInPlaceClassLoader(PlatformConfig platformConfig, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup, boolean isForWeb) PlatformInPlaceClassLoader(String platformHome, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup) PlatformInPlaceClassLoader(String platformHome, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup, boolean isForWeb) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoaderMetricRegistryfinal URL[]getInPlaceURLs(PlatformConfig config, String additionalClasspath) final URL[]getInPlaceURLs(String platformHome, String additionalClasspath) protected Class<?>overridden to maintain a list of classes that are loaded by this (or a child) Classloader to be able to clear references of this classes (during stop() ) In addition to that we hold a list of ALL loaded classes as a cache.Methods inherited from class de.hybris.bootstrap.loader.YURLClassLoader
addClassPathURLs, buildURL, clearAllReferences, findClass, findResource, start, stopMethods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceMethods inherited from class java.security.SecureClassLoader
defineClass, defineClassMethods 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, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
PlatformInPlaceClassLoader
public PlatformInPlaceClassLoader(String platformHome, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup) -
PlatformInPlaceClassLoader
public PlatformInPlaceClassLoader(String platformHome, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup, boolean isForWeb) -
PlatformInPlaceClassLoader
public PlatformInPlaceClassLoader(PlatformConfig platformConfig, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup) -
PlatformInPlaceClassLoader
public PlatformInPlaceClassLoader(PlatformConfig platformConfig, String additionalClasspath, ClassLoader parent, boolean noteAboutStartup, boolean isForWeb)
-
-
Method Details
-
loadClass
Description copied from class:YURLClassLoaderoverridden to maintain a list of classes that are loaded by this (or a child) Classloader to be able to clear references of this classes (during stop() ) In addition to that we hold a list of ALL loaded classes as a cache.- Overrides:
loadClassin classYURLClassLoader- Throws:
ClassNotFoundException
-
getInPlaceURLs
-
getInPlaceURLs
-
getClassloaderMetrics
-
getInPlaceURLs
-