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
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
The default file name when a value is not supplied in the configuration -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Remove the logger configuration for the supplied configuration service@NotNull String
getName()
Descriptive name of this factoryvoid
updated
(@NotNull String pid, @NotNull Dictionary<String, ?> configuration) Update the logger configuration for the supplied configuration service
-
Felddetails
-
LOG_FILE_DEFAULT
The default file name when a value is not supplied in the configuration- Siehe auch:
-
-
Konstruktordetails
-
LoggerManagedServiceFactory
public LoggerManagedServiceFactory()
-
-
Methodendetails
-
getName
Descriptive name of this factory- Angegeben von:
getName
in Schnittstelleorg.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.ConfigurationExceptionUpdate the logger configuration for the supplied configuration service- Angegeben von:
updated
in Schnittstelleorg.osgi.service.cm.ManagedServiceFactory
- Parameter:
pid
- the service identifier for the serviceconfiguration
- the configuration properties to apply- Löst aus:
org.osgi.service.cm.ConfigurationException
-
deleted
Remove the logger configuration for the supplied configuration service- Angegeben von:
deleted
in Schnittstelleorg.osgi.service.cm.ManagedServiceFactory
- Parameter:
pid
- the service identifier for the service
-