TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.hyades.logging.parsers.internal.importer
Class GLALoggerFactory

java.lang.Object
  extended byorg.apache.commons.logging.LogFactory
      extended byorg.eclipse.hyades.logging.commons.LoggerFactory
          extended byorg.eclipse.hyades.logging.parsers.internal.importer.GLALoggerFactory

public class GLALoggerFactory
extends org.eclipse.hyades.logging.commons.LoggerFactory

This class extends org.eclipse.hyades.logging.commons.LoggerFactory to instantiate the org.eclpise.hyades.logging.parsers.GLALogger class.

See Also:
LogFactory, Logger, LoggerFactory, GLALogger

Field Summary
 
Fields inherited from class org.eclipse.hyades.logging.commons.LoggerFactory
loggers
 
Fields inherited from class org.apache.commons.logging.LogFactory
factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, SERVICE_ID
 
Constructor Summary
GLALoggerFactory()
          No-argument constructor.
 
Method Summary
 org.apache.commons.logging.Log getInstance(java.lang.String loggerName)
          Returns an instance of a non-null named org.eclipse.hyades.logging.parsers.GLALogger based on the parameter name.
 
Methods inherited from class org.eclipse.hyades.logging.commons.LoggerFactory
getAttribute, getAttributeNames, getInstance, release, removeAttribute, setAttribute
 
Methods inherited from class org.apache.commons.logging.LogFactory
getContextClassLoader, getFactory, getLog, getLog, newFactory, release, releaseAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLALoggerFactory

public GLALoggerFactory()
No-argument constructor.

Method Detail

getInstance

public org.apache.commons.logging.Log getInstance(java.lang.String loggerName)
                                           throws org.apache.commons.logging.LogConfigurationException
Returns an instance of a non-null named org.eclipse.hyades.logging.parsers.GLALogger based on the parameter name.

Passing a null logger name results in a null return value.

An instance of a named org.eclipse.hyades.logging.parsers.GLALogger is created if no named instance current exists or all instances have been released.

Once a named org.eclipse.hyades.logging.parsers.GLALogger is created, the instance is cached for future calls to retrieve the same named org.eclipse.hyades.logging.parsers.GLALogger.

The name of the org.eclipse.hyades.logging.parsers.GLALogger uniquely identifies an instance of an org.eclipse.hyades.logging.parsers.GLALogger. All subsequent calls will return the same instance of the named org.eclipse.hyades.logging.parsers.GLALogger.

Parameters:
loggerName - The non-null name of the returned org.eclipse.hyades.logging.parsers.GLALogger instance.
Returns:
A named org.eclipse.hyades.logging.parsers.GLALogger instance, otherwise null if the parameter logger name is null.
Throws:
org.apache.commons.logging.LogConfigurationException - if the named org.eclipse.hyades.logging.parsers.GLALogger instance could not be created.
See Also:
LogFactory.getInstance(java.lang.String)

TPTP 4.4.0 Monitoring Tools Project
Internal API Specification