Klasse LoggerManagedServiceFactory

java.lang.Object
org.apache.sling.commons.log.logback.internal.config.LogConfigurator
org.apache.sling.commons.log.logback.internal.config.LoggerManagedServiceFactory
Alle implementierten Schnittstellen:
org.osgi.service.cm.ManagedServiceFactory

public class LoggerManagedServiceFactory extends LogConfigurator implements org.osgi.service.cm.ManagedServiceFactory
Factory for non-global logging configuration services
  • Felddetails

    • LOG_FILE_DEFAULT

      public static final String LOG_FILE_DEFAULT
      The default file name when a value is not supplied in the configuration
      Siehe auch:
  • Konstruktordetails

    • LoggerManagedServiceFactory

      public LoggerManagedServiceFactory()
  • Methodendetails

    • getName

      @NotNull public @NotNull String getName()
      Descriptive name of this factory
      Angegeben von:
      getName in Schnittstelle org.osgi.service.cm.ManagedServiceFactory
      Gibt zurück:
      the name for the factory
    • updated

      public void updated(@NotNull @NotNull String pid, @NotNull @NotNull Dictionary<String,?> configuration) throws org.osgi.service.cm.ConfigurationException
      Update the logger configuration for the supplied configuration service
      Angegeben von:
      updated in Schnittstelle org.osgi.service.cm.ManagedServiceFactory
      Parameter:
      pid - the service identifier for the service
      configuration - the configuration properties to apply
      Löst aus:
      org.osgi.service.cm.ConfigurationException
    • deleted

      public void deleted(@NotNull @NotNull String pid)
      Remove the logger configuration for the supplied configuration service
      Angegeben von:
      deleted in Schnittstelle org.osgi.service.cm.ManagedServiceFactory
      Parameter:
      pid - the service identifier for the service