Keel 2.1RC2

org.keel.services.model
Class ThreadedModel

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

public abstract class ThreadedModel
extends java.lang.Thread
implements Model, Configurable

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

Field Summary
protected  Configuration 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
ThreadedModel()
           
 
Method Summary
 void configure(Configuration configuration)
          Pass the Configuration to the Configurable class.
 Configuration 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
 
Methods inherited from interface org.keel.services.model.Model
execute
 

Field Detail

configuration

protected Configuration configuration
Constructor Detail

ThreadedModel

public ThreadedModel()
Method Detail

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Description copied from interface: Configurable
Pass the Configuration to the Configurable class.

Specified by:
configure in interface Configurable
Parameters:
configuration - the class configurations. Must not be null.
Throws:
ConfigurationException - if an error occurs
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)

getConfiguration

public Configuration getConfiguration()
Specified by:
getConfiguration in interface Model

Keel 2.1RC2

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