org.nuiton.log
Class LutinLog

java.lang.Object
  extended by org.nuiton.log.LutinLog
All Implemented Interfaces:
org.apache.commons.logging.Log

Deprecated. on 20090327 this class seam to produce a frame on each log call (produce huge memory consumption)

public class LutinLog
extends Object
implements org.apache.commons.logging.Log

LutinLog.java Created: 9 sept. 06 03:53:09

Version:
$Revision: 1637 $ Last update: $Date: 2009-06-21 04:53:31 +0200 (dim., 21 juin 2009) $ by : $Author: tchemit $
Author:
poussin

Constructor Summary
protected LutinLog(LutinLogFactory factory, org.apache.commons.logging.Log parent)
          Deprecated.  
 
Method Summary
 void addLutinLogListener(LutinLogListener l)
          Deprecated.  
 void debug(Object msg)
          Deprecated.  
 void debug(Object msg, Throwable eee)
          Deprecated.  
 void end()
          Deprecated. indique la fin complete d'une tache
 void error(Object msg)
          Deprecated.  
 void error(Object msg, Throwable eee)
          Deprecated.  
 void fatal(Object msg)
          Deprecated.  
 void fatal(Object msg, Throwable eee)
          Deprecated.  
protected  void fireLogEvent(LutinLogEvent.LogType type, Object msg, Throwable eee)
          Deprecated.  
protected  void fireProgressEvent(LutinProgressEvent.ProgressType type)
          Deprecated.  
 int getMax()
          Deprecated.  
 int getMin()
          Deprecated.  
protected  Component getProgressMonitorFrame()
          Deprecated.  
 long getTimeout()
          Deprecated. Donne le timeout particulier pour une tache.
 int getValue()
          Deprecated.  
 void info(Object msg)
          Deprecated.  
 void info(Object msg, Throwable eee)
          Deprecated.  
 boolean isAskStopTask()
          Deprecated. Si on a demande a ce que la tache soit arretee.
 boolean isDebugEnabled()
          Deprecated.  
 boolean isErrorEnabled()
          Deprecated.  
 boolean isFatalEnabled()
          Deprecated.  
 boolean isInfoEnabled()
          Deprecated.  
 boolean isTraceEnabled()
          Deprecated.  
 boolean isWarnEnabled()
          Deprecated.  
 void removeLutinLogListener(LutinLogListener l)
          Deprecated.  
 void setActivateProgressMonitorTime(long time)
          Deprecated. apres un start le temps avant de mettre le progress en marche (<=0 pour jamais)
 void setAskStopTask(boolean v)
          Deprecated. demande ou annule la demande de fin de tache
 void setMax(int value)
          Deprecated. une tache indique le max que peut prendre value
 void setMin(int value)
          Deprecated. une tache indique le min que peut prendre value
 void setTimeout(long time)
          Deprecated. modifie le temps specifiquement pour une tache.
 void setValue(int value)
          Deprecated. la valeur courante pour la tache, -1 indique l'indetermination de la valeur
 void start()
          Deprecated. une tache indique son debut
 String toString()
          Deprecated.  
 void trace(Object msg)
          Deprecated.  
 void trace(Object msg, Throwable eee)
          Deprecated.  
 void user(Object msg)
          Deprecated.  
 void user(Object msg, Throwable eee)
          Deprecated.  
 void warn(Object msg)
          Deprecated.  
 void warn(Object msg, Throwable eee)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LutinLog

protected LutinLog(LutinLogFactory factory,
                   org.apache.commons.logging.Log parent)
Deprecated. 
Method Detail

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

addLutinLogListener

public void addLutinLogListener(LutinLogListener l)
Deprecated. 

removeLutinLogListener

public void removeLutinLogListener(LutinLogListener l)
Deprecated. 

fireLogEvent

protected void fireLogEvent(LutinLogEvent.LogType type,
                            Object msg,
                            Throwable eee)
Deprecated. 

fireProgressEvent

protected void fireProgressEvent(LutinProgressEvent.ProgressType type)
Deprecated. 

setActivateProgressMonitorTime

public void setActivateProgressMonitorTime(long time)
Deprecated. 
apres un start le temps avant de mettre le progress en marche (<=0 pour jamais)

Parameters:
time - time

start

public void start()
Deprecated. 
une tache indique son debut


getProgressMonitorFrame

protected Component getProgressMonitorFrame()
Deprecated. 
Returns:
ProgressMonitorFrame

isAskStopTask

public boolean isAskStopTask()
Deprecated. 
Si on a demande a ce que la tache soit arretee.

Returns:
stopped state

setAskStopTask

public void setAskStopTask(boolean v)
Deprecated. 
demande ou annule la demande de fin de tache

Parameters:
v -

end

public void end()
Deprecated. 
indique la fin complete d'une tache


getTimeout

public long getTimeout()
Deprecated. 
Donne le timeout particulier pour une tache.

Returns:
timeout

setTimeout

public void setTimeout(long time)
Deprecated. 
modifie le temps specifiquement pour une tache. A la fin du time out cela n'arrete pas la t�che mais arrete simplement de la suivre

Parameters:
time -

getMin

public int getMin()
Deprecated. 

setMin

public void setMin(int value)
Deprecated. 
une tache indique le min que peut prendre value

Parameters:
value -

getMax

public int getMax()
Deprecated. 

setMax

public void setMax(int value)
Deprecated. 
une tache indique le max que peut prendre value

Parameters:
value -

getValue

public int getValue()
Deprecated. 

setValue

public void setValue(int value)
Deprecated. 
la valeur courante pour la tache, -1 indique l'indetermination de la valeur

Parameters:
value -

isTraceEnabled

public boolean isTraceEnabled()
Deprecated. 
Specified by:
isTraceEnabled in interface org.apache.commons.logging.Log

isDebugEnabled

public boolean isDebugEnabled()
Deprecated. 
Specified by:
isDebugEnabled in interface org.apache.commons.logging.Log

isInfoEnabled

public boolean isInfoEnabled()
Deprecated. 
Specified by:
isInfoEnabled in interface org.apache.commons.logging.Log

isWarnEnabled

public boolean isWarnEnabled()
Deprecated. 
Specified by:
isWarnEnabled in interface org.apache.commons.logging.Log

isErrorEnabled

public boolean isErrorEnabled()
Deprecated. 
Specified by:
isErrorEnabled in interface org.apache.commons.logging.Log

isFatalEnabled

public boolean isFatalEnabled()
Deprecated. 
Specified by:
isFatalEnabled in interface org.apache.commons.logging.Log

user

public void user(Object msg)
Deprecated. 

user

public void user(Object msg,
                 Throwable eee)
Deprecated. 

trace

public void trace(Object msg)
Deprecated. 
Specified by:
trace in interface org.apache.commons.logging.Log

trace

public void trace(Object msg,
                  Throwable eee)
Deprecated. 
Specified by:
trace in interface org.apache.commons.logging.Log

debug

public void debug(Object msg)
Deprecated. 
Specified by:
debug in interface org.apache.commons.logging.Log

debug

public void debug(Object msg,
                  Throwable eee)
Deprecated. 
Specified by:
debug in interface org.apache.commons.logging.Log

info

public void info(Object msg)
Deprecated. 
Specified by:
info in interface org.apache.commons.logging.Log

info

public void info(Object msg,
                 Throwable eee)
Deprecated. 
Specified by:
info in interface org.apache.commons.logging.Log

warn

public void warn(Object msg)
Deprecated. 
Specified by:
warn in interface org.apache.commons.logging.Log

warn

public void warn(Object msg,
                 Throwable eee)
Deprecated. 
Specified by:
warn in interface org.apache.commons.logging.Log

error

public void error(Object msg)
Deprecated. 
Specified by:
error in interface org.apache.commons.logging.Log

error

public void error(Object msg,
                  Throwable eee)
Deprecated. 
Specified by:
error in interface org.apache.commons.logging.Log

fatal

public void fatal(Object msg)
Deprecated. 
Specified by:
fatal in interface org.apache.commons.logging.Log

fatal

public void fatal(Object msg,
                  Throwable eee)
Deprecated. 
Specified by:
fatal in interface org.apache.commons.logging.Log


Copyright © 2004-2009 CodeLutin. All Rights Reserved.