Remote Systems
v6.4.1

com.ibm.etools.systems.logging
Class LoggerFactory

java.lang.Object
  extended bycom.ibm.etools.systems.logging.LoggerFactory

public class LoggerFactory
extends Object

Factory class for creating Logger instances.
Keep in mind that this factory class follows the singleton model.
ie: once an instance of a Logger class for a given plugin is created, it will always be reused.


Field Summary
static String Copyright
           
 
Constructor Summary
LoggerFactory()
           
 
Method Summary
static void freeInst(AbstractUIPlugin plugin)
          Frees resources used by the Logger instance for the given plugin.
static Logger getInst(AbstractUIPlugin plugin)
          Returns a Logger instance for the given plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

LoggerFactory

public LoggerFactory()
Method Detail

getInst

public static Logger getInst(AbstractUIPlugin plugin)
Returns a Logger instance for the given plugin.
Note that there is only a singelton instance of the Logger class per plugin. You are guarenteed the same instance if one has previously been created.


freeInst

public static void freeInst(AbstractUIPlugin plugin)
Frees resources used by the Logger instance for the given plugin.
This methods must be called as part of the the plugin shutdown life cycle.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.