org.datamanager.tools.kernelproxy
Class CreateEntityWorker

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.tools.kernelproxy.InterfaceWorker
              |
              +--org.datamanager.tools.kernelproxy.CreateEntityWorker

public class CreateEntityWorker
extends InterfaceWorker

Creates a new entity and adds it to the pool. A call to get() will retrieve the entity as an Object. Note: This thread will only work when run within the kernel on an approved thread.


Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Constructor Summary
CreateEntityWorker(String name)
          Creates a worker that makes a new entity and adds it to the pool.
 
Method Summary
protected  Object construct()
          Creates an Entity.
 
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

CreateEntityWorker

public CreateEntityWorker(String name)
Creates a worker that makes a new entity and adds it to the pool.

Method Detail

construct

protected Object construct()
                    throws DataManagerException
Creates an Entity.

Specified by:
construct in class InterfaceWorker
Returns:
The Entity created.
DataManagerException


See the Helium Website