org.jlf.log
Class LogManager

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.jlf.log.LogManager
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class LogManager
extends java.util.Vector

LogManager is a concrete class which manages all of the logs in the local system. Anything that a particular log cannot do of itself, LogManager is responsible for.

See Also:
RemoteLogManager, Serialized Form

Field Summary
protected  java.lang.String applicationName
          Holds the application name the logs are generated for.
protected static LogManager singleton
           
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
protected LogManager()
           
 
Method Summary
 java.lang.String getApplicationName()
          Return the application name string that the logs pertain to.
static LogManager getInstance()
           
 void setApplicationName(java.lang.String appName)
          Set the application name string that the logs pertain to
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Field Detail

applicationName

protected java.lang.String applicationName
Holds the application name the logs are generated for. The default comes from AppInfo but can be overriden.


singleton

protected static LogManager singleton
Constructor Detail

LogManager

protected LogManager()
Method Detail

getInstance

public static LogManager getInstance()

getApplicationName

public java.lang.String getApplicationName()
Return the application name string that the logs pertain to. With the advent of AppInfo, this simply becomes a dispatch back to that class.


setApplicationName

public void setApplicationName(java.lang.String appName)
Set the application name string that the logs pertain to