public abstract class WmSynchronousNotification extends WmNotification
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SELECT_EXECUTESERVICE_USER_ADAPTER_LIST |
_localPublish, _notificationNodeName, _pubRecNodeName, _repRecNodeName, _reqRecNodeName, _serviceName, _UUID
NOTIFY_DELETE, NOTIFY_DELETE_CALLBACK_NAME, NOTIFY_DISABLE, NOTIFY_DISABLE_CALLBACK_NAME, NOTIFY_ENABLE, NOTIFY_ENABLE_CALLBACK_NAME, NOTIFY_INIT, NOTIFY_INIT_CALLBACK_NAME, NOTIFY_RESUME, NOTIFY_RESUME_CALLBACK_NAME, NOTIFY_SHUTDOWN, NOTIFY_SHUTDOWN_CALLBACK_NAME, NOTIFY_STARTUP, NOTIFY_STARTUP_CALLBACK_NAME, NOTIFY_SUSPEND, NOTIFY_SUSPEND_CALLBACK_NAME, NOTIFY_UPDATE, NOTIFY_UPDATE_CALLBACK_NAME, ORDERED_NAME_LIST
Constructor and Description |
---|
WmSynchronousNotification() |
Modifier and Type | Method and Description |
---|---|
void |
configureIOProperties(PipelineRecordProperties input,
PipelineRecordProperties output)
fullfill ComplexTemplate interface.
|
protected java.lang.String |
getReplyDocumentName()
provides access to the name of the reply document (type) for this sync notification.
|
protected java.lang.String |
getRequestDocumentName()
Provides access to the name of the request document (type) for this sync notification.
|
java.lang.String |
inputRecordName() |
SyncNotificationResults |
invokeService(WmRecord rec)
Invokes the appropriate method that is configured with the notification.
|
java.lang.String |
outputRecordName() |
static boolean |
selectUserForExecuteService(java.lang.String adapterTypeName) |
protected void |
setDocumentProperties(PipelineRecordProperties outputDocProps,
PipelineRecordProperties inputDocProps)
Adapter writers should override this method to configure properties of documents
that define the request and reply for this synchronous notification (e.g.
|
changeNotificationData, checkTransaction, commitTransaction, debuglog, deleteCallBack, disableCallBack, dispatchConnectionError, enableCallBack, enabled, errorLog, execute, fillWmTemplateDescriptor, getConnection, getConnectionDataNode, getDesignTimeLocale, initCallBack, initNotificationNodeProperties, logCallback, logDebugPlus, logDebugPlus, logDebugPlus, logDebugPlusNamed, makeDetailedException, makeDetailedException, makeDetailedException, makeDetailedException, nodeName, nodeNameOrUnknown, notifyEvent, populateMetadata, queryPackage, resumeCallBack, returnNotificationData, rollbackTransaction, runNotification, runNotification, sendEventToEventBus, setDesignTimeLocale, shutdownCallBack, startupCallBack, suspendCallBack, updateCallBack
public static final java.lang.String SELECT_EXECUTESERVICE_USER_ADAPTER_LIST
public void configureIOProperties(PipelineRecordProperties input, PipelineRecordProperties output) throws javax.resource.ResourceException
configureIOProperties
in interface com.wm.pkg.art.metadata.ComplexTemplate
configureIOProperties
in class WmNotification
input
- input record for the template (null if n/a)output
- output record for the templatejavax.resource.ResourceException
ComplexTemplate.configureIOProperties(com.wm.adk.metadata.PipelineRecordProperties, com.wm.adk.metadata.PipelineRecordProperties)
protected java.lang.String getReplyDocumentName()
protected java.lang.String getRequestDocumentName()
public final java.lang.String inputRecordName()
inputRecordName
in interface com.wm.pkg.art.metadata.ComplexTemplate
inputRecordName
in class WmNotification
public SyncNotificationResults invokeService(WmRecord rec) throws AdapterException
NotificationResults.hadError()
method is set to true and the exception returned by the invoke is stored as the
errorInfo object.rec
- the WmRecord that will be sent to the service in the request document.AdapterException
- thrown on all failures not related to the service executionSyncNotificationResults
public final java.lang.String outputRecordName()
outputRecordName
in interface com.wm.pkg.art.metadata.ComplexTemplate
outputRecordName
in class WmNotification
public static boolean selectUserForExecuteService(java.lang.String adapterTypeName)
protected void setDocumentProperties(PipelineRecordProperties outputDocProps, PipelineRecordProperties inputDocProps) throws javax.resource.ResourceException
outputDocProps
- properties record for the output (request) documentinputDocProps
- properties record for the input (reply) documentjavax.resource.ResourceException
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.