Class PluginRegistry

java.lang.Object
org.apache.logging.log4j.plugins.model.PluginRegistry

@Singleton public class PluginRegistry extends Object
Registry singleton for PluginType maps partitioned by source type and then by category names.
  • Constructor Details

  • Method Details

    • clear

      public void clear()
      Resets the registry to an empty state.
    • getNamespace

      public PluginNamespace getNamespace(String namespace)
      Gets the registered plugins for the given namespace. If additional scan packages are provided, then plugins are scanned and loaded from there as well.