org.datamanager.tools.kernelproxy
Class AddEntityWorker

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.tools.kernelproxy.InterfaceWorker
              |
              +--org.datamanager.tools.kernelproxy.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.

Author:
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 org.datamanager.tools.kernelproxy.InterfaceWorker
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

AddEntityWorker

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

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

construct

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

Specified by:
construct in class InterfaceWorker
DataManagerException


See the Helium Website