Package de.hybris.bootstrap.loader
Interface LocationInfoAnalyzer
- All Known Implementing Classes:
LocationInfoAnalyzerImpl
public interface LocationInfoAnalyzer
The LocationInfoAnalyzer gathers and analyze class path data. To use/enable this feature add
classloader.monitor.enabled=true to your local/project.properties file. After starting-up the platform,
go to adminweb -> monitor -> class loader overview-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method adds a class path ressource (seeClassContainerLocationInfo) to this LocationInfoAnalyzer instance.createClassLocationInfo(String webAppName, ClassLoader loader, URL url) Creates a newClassContainerLocationInfofor a specific resource URL in scope of someClassLoader.getLoaderInfos(String app, Pattern pattern) Returns a list withClassContainerLocationInfos.getLocations(String app, Pattern pattern) Returns an overview about all loaded classes (full qualified class name) and their appearance of the jars/ressources.booleanReturns true if localization info was filled in during startup of the classloaders.
-
Method Details
-
addClassContainerLocationInfo
This method adds a class path ressource (seeClassContainerLocationInfo) to this LocationInfoAnalyzer instance. -
getLoaderInfos
Returns a list withClassContainerLocationInfos.- Parameters:
pattern-nulland the pattern .* are equal which means: show all.
-
getLocations
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
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.
-