public class LoggerFactoryJDK14 extends AbstractLoggerFactory
Constructor and Description |
---|
LoggerFactoryJDK14()
Creates new LoggerFactory
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureFileHandler(LoggerJDK14 logger)
This method throws SecurityException if a security manager exists and if
the caller does not have LoggingPermission("control")) or the
calling code is not placed in the doPrivileged() block.
|
protected LoggerJDK14 |
createLogger(String absoluteLoggerName,
String bundleName) |
protected Logger |
createLogger(String absoluteLoggerName,
String bundleName,
ClassLoader loader)
Create a new Logger.
|
protected LoggerJDK14 |
findLogger(String absoluteLoggerName) |
protected static ResourceBundle |
getMessages()
Get the message bundle for the AbstractLogger itself.
|
protected void |
setContextClassLoader(ClassLoader loader)
This method throws SecurityException if a security manager exists and if
the caller does not have LoggingPermission("control")) or the
calling code is not placed in the doPrivileged() block.
|
getAbsoluteLoggerName, getDomainRoot, getErrorLogger, getLogger
protected static ResourceBundle getMessages()
protected LoggerJDK14 findLogger(String absoluteLoggerName)
protected Logger createLogger(String absoluteLoggerName, String bundleName, ClassLoader loader)
createLogger
in class AbstractLoggerFactory
absoluteLoggerName
- the absolute name of this loggerbundleName
- the fully qualified name of the resource bundleloader
- the class loader used to load the resource bundle, or nullprotected void setContextClassLoader(ClassLoader loader)
protected LoggerJDK14 createLogger(String absoluteLoggerName, String bundleName)
protected void configureFileHandler(LoggerJDK14 logger)
Copyright © 2019. All rights reserved.