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 Details

    • addClassContainerLocationInfo

      void addClassContainerLocationInfo(ClassContainerLocationInfo info)
      This method adds a class path ressource (see ClassContainerLocationInfo) to this LocationInfoAnalyzer instance.
    • getLoaderInfos

      List<ClassContainerLocationInfo> getLoaderInfos(String app, Pattern pattern)
      Returns a list with ClassContainerLocationInfos.
      Parameters:
      pattern - null and the pattern .* are equal which means: show all.
    • getLocations

      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.
      Parameters:
      pattern - null and 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(String webAppName, ClassLoader loader, URL url)
      Creates a new ClassContainerLocationInfo for a specific resource URL in scope of some ClassLoader.
    • isInitialized

      boolean isInitialized()
      Returns true if localization info was filled in during startup of the classloaders.