You can use the Jython or Jacl scripting languages to configure deployed applications with the wsadmin tool. The commands and parameters in the WSNotifierCommands group can be used to create and manage notifications settings. WS-Notification enables Web services to use the "publish and subscribe" messaging pattern, creating a one-to-many message distribution pattern.
The deleteWSNotifier command deletes the settings of a notification configuration.
Parameters and return values
Examples
Batch mode example usage:
$AdminTask deleteWSNotifier {-name testNotifier}
AdminTask.deleteWSNotifier ('[-name testNotifier]')
AdminTask.deleteWSNotifier (['-name', 'testNotifier'])
Interactive mode example usage:
$AdminTask deleteWSNotifier {-interactive}
AdminTask.deleteWSNotifier ('[-interactive]')
AdminTask.deleteWSNotifier (['-interactive'])
The getWSNotifier command displays the settings of a particular notification configuration.
Parameters and return values
Examples
Batch mode example usage:
$AdminTask getWSNotifier {-name testNotifier}
AdminTask.getWSNotifier ('[-name testNotifier]')
AdminTask.getWSNotifier (['-name', 'testNotifier'])
Interactive mode example usage:
$AdminTask getWSNotifier {-interactive}
AdminTask.getWSNotifier ('[-interactive]')
AdminTask.getWSNotifier (['-interactive'])
The listWSNotifier command lists the notifier from the configuration.
Parameters and return values
Examples
Batch mode example usage:
$AdminTask listWSNotifier {-displayObjectName true}
AdminTask.listWSNotifier ('[-displayObjectName true]')
AdminTask.listWSNotifier (['-displayObjectName', 'true'])
Interactive mode example usage:
$AdminTask listWSNotifier {-interactive}
AdminTask.listWSNotifier ('[-interactive]')
AdminTask.listWSNotifier (['-interactive'])
The modifyWSNotifier command changes the settings of an existing notification configuration.
Parameters and return values
Examples
Batch mode example usage:
$AdminTask modifyWSNotifier {-name testNotifier -logToSystemOut false -sendEmail true -emailList tester}
AdminTask.modifyWSNotifier ('[-name testNotifier -logToSystemOut false -sendEmail true -emailList tester]')
AdminTask.modifyWSNotifier (['-name', 'testNotifier', '-logToSystemOut', 'false', '-sendEmail', 'true', '-emailList', 'tester'])
Interactive mode example usage:
$AdminTask modifyWSNotifier {-interactive}
AdminTask.modifyWSNotifier ('[-interactive]')
AdminTask.modifyWSNotifier (['-interactive'])