Keel 2.1RC2

org.keel.services.model
Class ThreadedLogEnabledModel

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.keel.services.model.ThreadedModel
          extended byorg.keel.services.model.ThreadedLogEnabledModel
All Implemented Interfaces:
Configurable, LogEnabled, Model, java.lang.Runnable

public abstract class ThreadedLogEnabledModel
extends ThreadedModel
implements LogEnabled

Version:
$Revision: 1.2 $ $Date: 2003/07/03 15:49:32 $
Author:
Shash Chatterjee Created on Oct 17, 2002

Field Summary
protected  Logger log
           
 
Fields inherited from class org.keel.services.model.ThreadedModel
configuration
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.keel.services.model.Model
ROLE
 
Constructor Summary
ThreadedLogEnabledModel()
           
 
Method Summary
 void enableLogging(Logger logger)
          Provide component with a logger.
 ModelResponse execute(ModelRequest request)
           
 
Methods inherited from class org.keel.services.model.ThreadedModel
configure, getConfiguration
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected Logger log
Constructor Detail

ThreadedLogEnabledModel

public ThreadedLogEnabledModel()
Method Detail

enableLogging

public void enableLogging(Logger logger)
Description copied from interface: LogEnabled
Provide component with a logger.

Specified by:
enableLogging in interface LogEnabled
Parameters:
logger - the logger. Must not be null.
See Also:
LogEnabled.enableLogging(org.apache.avalon.framework.logger.Logger)

execute

public ModelResponse execute(ModelRequest request)
                      throws ModelException
Specified by:
execute in interface Model
Throws:
ModelException
See Also:
Model.execute(org.keel.services.model.ModelRequest)

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.