com.ibm.etools.logging.util
Class PluginHelperImpl

java.lang.Object
  |
  +--com.ibm.etools.logging.util.PluginHelperImpl
All Implemented Interfaces:
IPluginHelper

public class PluginHelperImpl
extends java.lang.Object
implements IPluginHelper


Constructor Summary
PluginHelperImpl()
           
 
Method Summary
static java.util.Hashtable getMsgLoggerConfig(java.lang.String loggerName)
           
static java.lang.String getMsgLoggerName(Plugin plugin)
          Retrieves a logger name based initially on the parameter plugin's unique identifier.
 void setMsgLoggerConfig(java.util.Hashtable msgLoggerConfig)
          NOTE: This method does not perform any function but is present to satisfy the IPluginHelper interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.logging.util.IPluginHelper
getMsgLoggerConfig
 

Constructor Detail

PluginHelperImpl

public PluginHelperImpl()
Method Detail

setMsgLoggerConfig

public void setMsgLoggerConfig(java.util.Hashtable msgLoggerConfig)
NOTE: This method does not perform any function but is present to satisfy the IPluginHelper interface.

Specified by:
setMsgLoggerConfig in interface IPluginHelper
Parameters:
msgLoggerConfig - hashtable of the logger's preferences

getMsgLoggerName

public static java.lang.String getMsgLoggerName(Plugin plugin)
Retrieves a logger name based initially on the parameter plugin's unique identifier. If specified, the com.ibm.etools.logging.util.loggingOptions extension point 'name' attribute in the parameter plugin's plugin.xml file is used. Note, if the parameter plug-in is null, the 'Default Logging Agent' logger is returned.

Parameters:
plugin - the plug-in polled for their unique ID or their 'name' attribute in the loggingOptions extension point
Returns:
logger name

getMsgLoggerConfig

public static java.util.Hashtable getMsgLoggerConfig(java.lang.String loggerName)