|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.jms.consumer.commands.ConsumerCommand
|
+--org.openeai.jms.consumer.commands.SyncCommandImpl
The "default" anscestor of all SyncCommands that are executed by a PubSubConsumer.
Organizations can add an additional layer between this class and the command implementations they develop or they can even eliminate the use of this class altogether. This class provides many useful convenience methods that are commonly needed by all RequestCommand implementations. Additional common routines will be added to this layer as time goes by...
ConsumerCommand,
RequestCommand,
RequestCommandImpl,
SyncCommand| Field Summary |
| Fields inherited from class org.openeai.jms.consumer.commands.ConsumerCommand |
CREATE_ACTION, DELETE_ACTION, MESSAGE_ACTION, MESSAGE_CATEGORY, MESSAGE_OBJECT, MESSAGE_RELEASE, MESSAGE_TYPE, QUERY_ACTION, UPDATE_ACTION |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
SyncCommandImpl()
|
|
SyncCommandImpl(CommandConfig cConfig)
Default constructor behavior that will apply to all SyncCommand implementations. |
|
| Method Summary | |
PubSubProducer |
getSyncErrorPublisher()
Get SyncErrorPublisher associated to this command. |
org.jdom.Document |
getSyncErrorSyncDoc()
Returns the Sync-Error-Sync primed Document object built from the SyncErrorSyncPrimedDocument URI that will be used as the primed sync error sync Document used as a starting point when publishing Sync errors. |
protected java.lang.String |
getSyncErrorSyncPrimedDocumentUri()
Returns the Sync-Error-Sync primed document URI that will be used to build the primed sync error sync Document used as a starting point when publishing Sync errors. |
protected void |
publishSyncError(org.jdom.Element senderControlArea,
java.util.List errors)
This method is used to publish a Sync-Error-Sync message when/if the Command has any errors during processing (during the 'execute' method). |
protected void |
publishSyncError(org.jdom.Element senderControlArea,
java.util.List errors,
java.lang.Throwable e)
This method is used to publish a Sync-Error-Sync message when/if the Command has any errors during processing (during the 'execute' method). |
void |
setSyncErrorSyncDoc(org.jdom.Document doc)
Sets the Sync-Error-Sync primed Document object built from the SyncErrorSyncPrimedDocument URI that will be used as the primed sync error sync Document used as a starting point when publishing Sync errors. |
protected void |
setSyncErrorSyncPrimedDocumentUri(java.lang.String uri)
Sets the Sync-Error-Sync primed document URI that will be used to build the primed sync error sync Document used as a starting point when publishing Sync errors. |
| Methods inherited from class org.openeai.jms.consumer.commands.ConsumerCommand |
addAppConfig, buildError, convertToString, generateRelease, getAppConfig, getAppConfigs, getControlArea, getInboundXmlValidation, getMessageAction, getMessageBody, getMessageCategory, getMessageDumpDirectory, getMessageObject, getMessageRelease, getMessageType, getMsgComponents, getOutboundXmlValidation, initializeInput, setAppConfig, setInboundXmlValidation, setMessageDumpDirectory, setMsgComponents, setOutboundXmlValidation, setWriteToFile, writeMessageToFile, writeToFile |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SyncCommandImpl()
public SyncCommandImpl(CommandConfig cConfig)
throws java.lang.InstantiationException
java.lang.InstantiationException - if errors occur during initialization.| Method Detail |
protected final java.lang.String getSyncErrorSyncPrimedDocumentUri()
protected final void setSyncErrorSyncPrimedDocumentUri(java.lang.String uri)
public final void setSyncErrorSyncDoc(org.jdom.Document doc)
public final org.jdom.Document getSyncErrorSyncDoc()
public final PubSubProducer getSyncErrorPublisher()
protected final void publishSyncError(org.jdom.Element senderControlArea,
java.util.List errors,
java.lang.Throwable e)
protected final void publishSyncError(org.jdom.Element senderControlArea,
java.util.List errors)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||