Class LoggerFactoryiAS
- java.lang.Object
-
- com.sun.jdo.spi.persistence.utility.logging.AbstractLoggerFactory
-
- com.sun.jdo.spi.persistence.utility.logging.LoggerFactoryJDK14
-
- com.sun.jdo.spi.persistence.support.sqlstore.ejb.LoggerFactoryiAS
-
- All Implemented Interfaces:
LoggerFactory
public class LoggerFactoryiAS extends LoggerFactoryJDK14
- Version:
- 1.0
- Author:
- Craig Russell
-
-
Field Summary
Fields Modifier and Type Field Description protected String
DOMAIN_ROOT
The top level of the logger domain for application server.
-
Constructor Summary
Constructors Constructor Description LoggerFactoryiAS()
Creates new LoggerFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureFileHandler(LoggerJDK14 logger)
This method is a no-op in the Sun ONE Application server.protected LoggerJDK14
createLogger(String absoluteLoggerName, String bundleName)
Create a new Logger.protected String
getDomainRoot()
-
Methods inherited from class com.sun.jdo.spi.persistence.utility.logging.LoggerFactoryJDK14
createLogger, findLogger, getMessages, setContextClassLoader
-
Methods inherited from class com.sun.jdo.spi.persistence.utility.logging.AbstractLoggerFactory
getAbsoluteLoggerName, getErrorLogger, getLogger
-
-
-
-
Field Detail
-
DOMAIN_ROOT
protected String DOMAIN_ROOT
The top level of the logger domain for application server.
-
-
Method Detail
-
getDomainRoot
protected String getDomainRoot()
- Overrides:
getDomainRoot
in classAbstractLoggerFactory
-
createLogger
protected LoggerJDK14 createLogger(String absoluteLoggerName, String bundleName)
Create a new Logger. Create a logger for the named component. The bundle name is passed to allow the implementation to properly find and construct the internationalization bundle. This operation is executed as a privileged action to allow permission access for the following operations: ServerLogManager.initializeServerLogger- Overrides:
createLogger
in classLoggerFactoryJDK14
- Parameters:
absoluteLoggerName
- the absolute name of this loggerbundleName
- the fully qualified name of the resource bundle- Returns:
- the logger
-
configureFileHandler
protected void configureFileHandler(LoggerJDK14 logger)
This method is a no-op in the Sun ONE Application server.- Overrides:
configureFileHandler
in classLoggerFactoryJDK14
-
-