| java.lang.Object org.datashare.PersistDataQueueObject
PersistDataQueueObject | public class PersistDataQueueObject (Code) | | Defines the object that will be put into our Queue and extracted by the PersistDataQueueConsumer
class. This object fully describes the EJB that is to be created by the
PersistDataQueueConsumer.
author: Charles Wood version: 1.0 |
callback | PersistDataCallbackInterface callback(Code) | | should be set to the class that wishes to receive the ADSKey that corresponds
to the EJB that is to be created, should be set to null if no callback with the
ADSKey is desired
|
props | Hashtable props(Code) | | describes the attributes of the EJB, determined by the EJB class that is to be created
Contains attributes of the data, the keys are strings that correspond to fields,
the values are the field values.
|
tableName | String tableName(Code) | | the name/type of the EJB to be created, should be the 'home' EJB class
|
PersistDataQueueObject | PersistDataQueueObject(String tableName, Hashtable props, PersistDataCallbackInterface callback)(Code) | | class constructor, must be created with first two parameters non-null
Parameters: beanName - the name of the bean, used in the EjbUtil.create call Parameters: props - the property values that describe this bean, used in thecall to EjbUtil.create Parameters: callback - provides the method that will let us return the ADSkeythat corresponds to this EJB, set to null if no callback is desired |
getCallback | public PersistDataCallbackInterface getCallback()(Code) | | returns the instance that was supplied to the consructor
the instance supplied by the constructor parameter |
getProperties | public Hashtable getProperties()(Code) | | accessor for the ADSProperties of this instance
the ADSProperties that was provided to the class constructor |
getTableName | public String getTableName()(Code) | | accessor for beanName of this instance
the beanName that was provided to the class constructor |
|
|