Package de.hybris.bootstrap.loader
Interface LocationInfoAnalyzer
-
- All Known Implementing Classes:
LocationInfoAnalyzerImpl
public interface LocationInfoAnalyzerThe LocationInfoAnalyzer gathers and analyze class path data. To use/enable this feature addclassloader.monitor.enabled=trueto your local/project.properties file. After starting-up the platform, go to adminweb -> monitor -> class loader overview
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddClassContainerLocationInfo(ClassContainerLocationInfo info)This method adds a class path ressource (seeClassContainerLocationInfo) to this LocationInfoAnalyzer instance.ClassContainerLocationInfocreateClassLocationInfo(java.lang.String webAppName, java.lang.ClassLoader loader, java.net.URL url)Creates a newClassContainerLocationInfofor a specific resource URL in scope of someClassLoader.java.util.List<ClassContainerLocationInfo>getLoaderInfos(java.lang.String app, java.util.regex.Pattern pattern)Returns a list withClassContainerLocationInfos.java.util.Map<java.lang.String,java.util.Set<java.lang.String>>getLocations(java.lang.String app, java.util.regex.Pattern pattern)Returns an overview about all loaded classes (full qualified class name) and their appearance of the jars/ressources.booleanisInitialized()Returns true if localization info was filled in during startup of the classloaders.
-
-
-
Method Detail
-
addClassContainerLocationInfo
void addClassContainerLocationInfo(ClassContainerLocationInfo info)
This method adds a class path ressource (seeClassContainerLocationInfo) to this LocationInfoAnalyzer instance.
-
getLoaderInfos
java.util.List<ClassContainerLocationInfo> getLoaderInfos(java.lang.String app, java.util.regex.Pattern pattern)
Returns a list withClassContainerLocationInfos.- Parameters:
pattern-nulland the pattern .* are equal which means: show all.
-
getLocations
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getLocations(java.lang.String app, java.util.regex.Pattern pattern)Returns an overview about all loaded classes (full qualified class name) and their appearance of the jars/ressources.- Parameters:
pattern-nulland the pattern .* are equal which means: show all.- Returns:
- a map. The key is the full qualified class name. The value is the ressource which contains this class.
-
createClassLocationInfo
ClassContainerLocationInfo createClassLocationInfo(java.lang.String webAppName, java.lang.ClassLoader loader, java.net.URL url)
Creates a newClassContainerLocationInfofor a specific resource URL in scope of someClassLoader.
-
isInitialized
boolean isInitialized()
Returns true if localization info was filled in during startup of the classloaders.
-
-