Package de.hybris.bootstrap.loader.impl
Class LocationInfoAnalyzerImpl
java.lang.Object
de.hybris.bootstrap.loader.impl.LocationInfoAnalyzerImpl
- All Implemented Interfaces:
LocationInfoAnalyzer
Implementation of the
LocationInfoAnalyzer interface.-
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.static LocationInfoAnalyzergetLoaderInfos(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
-
getInstance
-
addClassContainerLocationInfo
Description copied from interface:LocationInfoAnalyzerThis method adds a class path ressource (seeClassContainerLocationInfo) to this LocationInfoAnalyzer instance.- Specified by:
addClassContainerLocationInfoin interfaceLocationInfoAnalyzer
-
getLoaderInfos
Description copied from interface:LocationInfoAnalyzerReturns a list withClassContainerLocationInfos.- Specified by:
getLoaderInfosin interfaceLocationInfoAnalyzerpattern-nulland the pattern .* are equal which means: show all.
-
getLocations
Description copied from interface:LocationInfoAnalyzerReturns an overview about all loaded classes (full qualified class name) and their appearance of the jars/ressources.- Specified by:
getLocationsin interfaceLocationInfoAnalyzerpattern-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
public ClassContainerLocationInfo createClassLocationInfo(String webAppName, ClassLoader loader, URL url) Description copied from interface:LocationInfoAnalyzerCreates a newClassContainerLocationInfofor a specific resource URL in scope of someClassLoader.- Specified by:
createClassLocationInfoin interfaceLocationInfoAnalyzer
-
isInitialized
public boolean isInitialized()Description copied from interface:LocationInfoAnalyzerReturns true if localization info was filled in during startup of the classloaders.- Specified by:
isInitializedin interfaceLocationInfoAnalyzer
-