com.iparelan.util.logging.impl
Class ConcreteFactory

java.lang.Object
  extended by com.iparelan.util.logging.impl.ConcreteFactory
All Implemented Interfaces:
AbstractFactory, FactoryInterface

@Singleton
@Copyright(value="Copyright © 2008, Iparelan Solutions, LLC. All rights reserved.")
public final class ConcreteFactory
extends Object
implements FactoryInterface

A factory plugin for creating logging objects.

Version:
June 2008
Author:
Greg Mattes

Field Summary
private static AtomicBoolean enforceSingletonDynamically
           
 
Constructor Summary
ConcreteFactory()
          Creates a ConcreteFactory.
 
Method Summary
 Logger getLogger(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

enforceSingletonDynamically

private static final AtomicBoolean enforceSingletonDynamically
Constructor Detail

ConcreteFactory

public ConcreteFactory()
Creates a ConcreteFactory.

Throws:
AssertionError - Iff the singleton property of this class is violated.
Method Detail

getLogger

public Logger getLogger(String name)
Specified by:
getLogger in interface FactoryInterface
See Also:
LoggingFactory.getLogger(String)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 Iparelan Solutions, LLC. All rights reserved.