APIdia Launch Partner
Top Description Inners Fields Constructors Methods
jdk.internal.logger

public final Class LoggerFinderLoader

extends Object
Class Inheritance
Imports
java.lang.System.Logger, .System.LoggerFinder, java.util.Iterator, .Locale, .ServiceConfigurationError, .ServiceLoader, java.util.function.BooleanSupplier, jdk.internal.vm.annotation.Stable

Helper class used to load the java.lang.System.LoggerFinder.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum
public static class

Field Summary

Modifier and TypeField and Description
pack-priv static volatile Thread
private static final Object
private static volatile System.LoggerFinder

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static LoggerFinderLoader.ErrorPolicy
private static boolean
private static Iterator<System.LoggerFinder>
public static System.LoggerFinder
pack-priv static boolean
private static System.LoggerFinder
private static System.LoggerFinder
private static System.LoggerFinder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loadingThreadback to summary
pack-priv static volatile Thread loadingThread
lockback to summary
private static final Object lock
serviceback to summary
private static volatile System.LoggerFinder service

Constructor Detail

LoggerFinderLoaderback to summary
private LoggerFinderLoader()

Method Detail

configurationErrorPolicyback to summary
private static LoggerFinderLoader.ErrorPolicy configurationErrorPolicy()
ensureSingletonProviderback to summary
private static boolean ensureSingletonProvider()
findLoggerFinderProvidersback to summary
private static Iterator<System.LoggerFinder> findLoggerFinderProviders()
getLoggerFinderback to summary
public static System.LoggerFinder getLoggerFinder()
isLoadingThreadback to summary
pack-priv static boolean isLoadingThread()
loadDefaultImplementationback to summary
private static System.LoggerFinder loadDefaultImplementation()
loadLoggerFinderback to summary
private static System.LoggerFinder loadLoggerFinder()
serviceback to summary
private static System.LoggerFinder service()
jdk.internal.logger back to summary

private final Enum LoggerFinderLoader.ErrorPolicy

extends Enum<LoggerFinderLoader.ErrorPolicy>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final LoggerFinderLoader.ErrorPolicy
public static final LoggerFinderLoader.ErrorPolicy
public static final LoggerFinderLoader.ErrorPolicy
public static final LoggerFinderLoader.ErrorPolicy

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LoggerFinderLoader.ErrorPolicy
public static LoggerFinderLoader.ErrorPolicy[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEBUGback to summary
public static final LoggerFinderLoader.ErrorPolicy DEBUG
ERRORback to summary
public static final LoggerFinderLoader.ErrorPolicy ERROR
QUIETback to summary
public static final LoggerFinderLoader.ErrorPolicy QUIET
WARNINGback to summary
public static final LoggerFinderLoader.ErrorPolicy WARNING

Constructor Detail

ErrorPolicyback to summary
private ErrorPolicy()

Method Detail

valueOfback to summary
public static LoggerFinderLoader.ErrorPolicy valueOf(String name)
valuesback to summary
public static LoggerFinderLoader.ErrorPolicy[] values()
jdk.internal.logger back to summary

public final Class LoggerFinderLoader.TemporaryLoggerFinder

extends LoggerFinder
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final LoggerFinderLoader.TemporaryLoggerFinder
private static final BooleanSupplier
private System.LoggerFinder

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public System.Logger
getLogger(String name, Module module)

Implements abstract java.lang.System.LoggerFinder.getLogger.

Returns an instance of Logger for the given module.

Inherited from java.lang.System.LoggerFinder:
getLocalizedLoggergetLoggerFinder

Field Detail

INSTANCEback to summary
private static final LoggerFinderLoader.TemporaryLoggerFinder INSTANCE
isLoadingThreadback to summary
private static final BooleanSupplier isLoadingThread
loadedServiceback to summary
private System.LoggerFinder loadedService
Annotations
@Stable

Constructor Detail

TemporaryLoggerFinderback to summary
private TemporaryLoggerFinder()

Method Detail

getLoggerback to summary
public System.Logger getLogger(String name, Module module)

Implements abstract java.lang.System.LoggerFinder.getLogger.

Doc from java.lang.System.LoggerFinder.getLogger.

Returns an instance of Logger for the given module.

Annotations
@Override