Class AddEntityWorker


public class AddEntityWorker
extends InterfaceWorker

Adds an entity the kernel's pool. Note: This thread will only work when run within the kernel on an approved thread.

Gordon Murphy
, Bryan Dawson

Nested Class Summary
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
Constructor Summary
AddEntityWorker(Entity entity)
          Creates a new Worker with the given entity
Method Summary
protected  Object construct()
          Adds this entity to the default pool
Methods inherited from class
get, getInformation, getValue, process
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getPriority, setInformation, setPriority, start
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AddEntityWorker(Entity entity)
Creates a new Worker with the given entity

entity - the entity to add to the pool.
Method Detail


protected Object construct()
                    throws DataManagerException
Adds this entity to the default pool

Specified by:
construct in class InterfaceWorker

See the Helium Website