public final class LocationInfoAnalyzerImpl extends Object implements LocationInfoAnalyzer
LocationInfoAnalyzer interface.| Modifier and Type | Method and Description |
|---|---|
void |
addClassContainerLocationInfo(ClassContainerLocationInfo info)
This method adds a class path ressource (see
ClassContainerLocationInfo) to this LocationInfoAnalyzer
instance. |
ClassContainerLocationInfo |
createClassLocationInfo(String webAppName,
ClassLoader loader,
URL url)
Creates a new
ClassContainerLocationInfo for a specific resource URL in scope of some ClassLoader. |
static LocationInfoAnalyzer |
getInstance() |
List<ClassContainerLocationInfo> |
getLoaderInfos(String app,
Pattern pattern)
Returns a list with
ClassContainerLocationInfos. |
Map<String,Set<String>> |
getLocations(String app,
Pattern pattern)
Returns an overview about all loaded classes (full qualified class name) and their appearance of the
jars/ressources.
|
boolean |
isInitialized()
Returns true if localization info was filled in during startup of the classloaders.
|
public static LocationInfoAnalyzer getInstance()
public void addClassContainerLocationInfo(ClassContainerLocationInfo info)
LocationInfoAnalyzerClassContainerLocationInfo) to this LocationInfoAnalyzer
instance.addClassContainerLocationInfo in interface LocationInfoAnalyzerpublic List<ClassContainerLocationInfo> getLoaderInfos(String app, Pattern pattern)
LocationInfoAnalyzerClassContainerLocationInfos.getLoaderInfos in interface LocationInfoAnalyzerpattern - null and the pattern .* are equal which means: show all.public Map<String,Set<String>> getLocations(String app, Pattern pattern)
LocationInfoAnalyzergetLocations in interface LocationInfoAnalyzerpattern - null and the pattern .* are equal which means: show all.public ClassContainerLocationInfo createClassLocationInfo(String webAppName, ClassLoader loader, URL url)
LocationInfoAnalyzerClassContainerLocationInfo for a specific resource URL in scope of some ClassLoader.createClassLocationInfo in interface LocationInfoAnalyzerpublic boolean isInitialized()
LocationInfoAnalyzerisInitialized in interface LocationInfoAnalyzerCopyright © 2017 SAP SE. All Rights Reserved.