FileDocCategorySizeDatePackage
LoggerFactoryiAS.javaAPI DocGlassfish v2 API4114Fri May 04 22:35:04 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.ejb

LoggerFactoryiAS

public class LoggerFactoryiAS extends com.sun.jdo.spi.persistence.utility.logging.LoggerFactoryJDK14
author
Craig Russell
version
1.0

Fields Summary
protected String
DOMAIN_ROOT
The top level of the logger domain for application server.
Constructors Summary
public LoggerFactoryiAS()
Creates new LoggerFactory

 //NOI18N

        
      
    
Methods Summary
protected voidconfigureFileHandler(com.sun.jdo.spi.persistence.utility.logging.LoggerJDK14 logger)
This method is a no-op in the Sun ONE Application server.

    
protected com.sun.jdo.spi.persistence.utility.logging.LoggerJDK14createLogger(java.lang.String absoluteLoggerName, java.lang.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

param
absoluteLoggerName the absolute name of this logger
param
bundleName the fully qualified name of the resource bundle
return
the logger

        return (LoggerJDK14) AccessController.doPrivileged ( 
            new PrivilegedAction () {
                public Object run () {
                    LoggerJDK14 result = new LoggerJDK14(absoluteLoggerName, bundleName);
                    //Handlers and Formatters will be set in addLogger().
                    //ServerLogManager.initializeServerLogger(result);
                    
                    return result;
                } 
            } 
        );
    
protected java.lang.StringgetDomainRoot()

        return DOMAIN_ROOT;