com.sun.enterprise.server.logging
Class ModuleToLoggerNameMapper

java.lang.Object
  extended by com.sun.enterprise.server.logging.ModuleToLoggerNameMapper

public class ModuleToLoggerNameMapper
extends java.lang.Object

A Simple No Brainer Utility to map the Module Name to Logger Name..

Author:
Hemanth Puttaswamy

Constructor Summary
ModuleToLoggerNameMapper()
           
 
Method Summary
static java.lang.String[] getLoggerNames(java.lang.String moduleName)
           
static java.lang.String getModuleName(java.lang.String loggerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleToLoggerNameMapper

public ModuleToLoggerNameMapper()
Method Detail

getModuleName

public static java.lang.String getModuleName(java.lang.String loggerName)
Returns:
the module name the logger is for.

getLoggerNames

public static java.lang.String[] getLoggerNames(java.lang.String moduleName)
Returns:
the logger names for this module; size of returned String[] >=1.


Copyright © 2012 GlassFish Community. All Rights Reserved.