public final class LocationInfoAnalyzerImpl extends java.lang.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(java.lang.String webAppName,
java.lang.ClassLoader loader,
java.net.URL url)
Creates a new
ClassContainerLocationInfo for a specific resource URL in scope of some ClassLoader. |
static LocationInfoAnalyzer |
getInstance() |
java.util.List<ClassContainerLocationInfo> |
getLoaderInfos(java.lang.String app,
java.util.regex.Pattern pattern)
Returns a list with
ClassContainerLocationInfos. |
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.
|
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 java.util.List<ClassContainerLocationInfo> getLoaderInfos(java.lang.String app, java.util.regex.Pattern pattern)
LocationInfoAnalyzerClassContainerLocationInfos.getLoaderInfos in interface LocationInfoAnalyzerpattern - null and the pattern .* are equal which means: show all.public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getLocations(java.lang.String app,
java.util.regex.Pattern pattern)
LocationInfoAnalyzergetLocations in interface LocationInfoAnalyzerpattern - null and the pattern .* are equal which means: show all.public ClassContainerLocationInfo createClassLocationInfo(java.lang.String webAppName, java.lang.ClassLoader loader, java.net.URL url)
LocationInfoAnalyzerClassContainerLocationInfo for a specific resource URL in scope of some ClassLoader.createClassLocationInfo in interface LocationInfoAnalyzerpublic boolean isInitialized()
LocationInfoAnalyzerisInitialized in interface LocationInfoAnalyzerCopyright © 2018 SAP SE. All Rights Reserved.