com.ibm.etools.logging.util
Class LoggingUtilPlugin
java.lang.Object
|
+--Plugin
|
+--com.ibm.etools.logging.util.LoggingUtilPlugin
- All Implemented Interfaces:
- IPluginHelper
- public class LoggingUtilPlugin
- extends Plugin
- implements IPluginHelper
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingUtilPlugin
public LoggingUtilPlugin()
start
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exception
- See Also:
org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
getPlugin
public static LoggingUtilPlugin getPlugin()
getResourceBundle
public static java.util.ResourceBundle getResourceBundle()
setMsgLoggerConfig
public void setMsgLoggerConfig(java.util.Hashtable loggerConfig)
- Description copied from interface:
IPluginHelper
- Sets the logger's preferences based on values in the parameter hashtable.
The logger's preferences are stored in the parameter hashtable using the static
instance variables in LoggerStateHashKeys as keys.
- Specified by:
setMsgLoggerConfig
in interface IPluginHelper
- Parameters:
loggerConfig
- hashtable of the logger's preferences
getMsgLoggerConfig
public java.util.Hashtable getMsgLoggerConfig(Plugin plugin)
- Description copied from interface:
IPluginHelper
- Retrieves a hashtable of a logger's preferences initially from the com.ibm.etools.logging.util.loggingDefaults
extension point if specified in the com.ibm.etools.logging.util plugin.xml file. If specified, the
com.ibm.etools.logging.util.loggingOptions extension point preferences in the parameter plugin's
plugin.xml file are returned.
The logger's preferences are stored in the return hashtable using the static instance variables
in LoggerStateHashKeys as keys.
- Specified by:
getMsgLoggerConfig
in interface IPluginHelper
- Parameters:
plugin
- the Plugin polled for their logger's preferences in the plugin.xml file
- Returns:
- hashtable of a logger's preferences
getMsgLoggerConfig
public java.util.Hashtable getMsgLoggerConfig()
getMsgLogger
public MsgLogger getMsgLogger()