1.0.0

org.eclipse.soda.dk.notification.test
Class NotificationTest

java.lang.Object
  extended by org.eclipse.soda.dk.core.EscObject
      extended by org.eclipse.soda.dk.notification.test.NotificationTest
All Implemented Interfaces:
NotificationListener

public class NotificationTest
extends EscObject
implements NotificationListener

Version:
1.0.0

Field Summary
 
Fields inherited from class org.eclipse.soda.dk.core.EscObject
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, INTEGER_TABLE, KEY_KEY, LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_TRACE, LOG_WARNING, PREFIX_KEY, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE
 
Constructor Summary
NotificationTest()
          Constructs an instance of this class.
 
Method Summary
 void exit()
          Exit.
 NotificationService getNotificationService()
          Gets the notification service value.
static void main(java.lang.String[] args)
          Main with the specified args parameter.
 void notificationReceived(java.lang.String topic, java.util.Dictionary data)
          Handle publish arrived with the specified topic and data parameters.
 void setNotificationService(NotificationService notificationService)
          Sets the notification service value.
 
Methods inherited from class org.eclipse.soda.dk.core.EscObject
attemptRecoveryFromError, createDefaultLogService, createException, createException, createInteger, createIntegerTable, createNumber, format, getBoolean, getConfigurationService, getCurrentTimestamp, getDefaultLogService, getDefaultResource, getErrorSeverity, getFloat, getInt, getLoadLibraryName, getLogDetails, getLogDetails0, getLogDetails1, getLogDetails2, getLogDetails3, getLogDetails4, getLogDetails5, getLogDetails6, getLogDetails7, getLogService, getLong, getObject, getOutputName, getResource, getSimpleClassName, getStaticBoolean, getStaticFloat, getStaticInt, getStaticLong, getStaticObject, getStaticString, getString, getTraceLevel, getVmLibraryVersion, handleError, handleError, handleError, handleStaticError, handleStaticException, isDebug, isTrace, loadService, log, log, report, report, report, report, report, report, reportError, reportSystemInfo, setDebug, setDefaultLogService, setLogService, setTraceLevel, shouldLog, sleep, startupEscStatic, toString, toStringConfigurationKeys, toStringInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationTest

public NotificationTest()
Constructs an instance of this class.

Method Detail

main

public static void main(java.lang.String[] args)
Main with the specified args parameter. The args (String[]) parameter.

Parameters:
args - The args (String[]) parameter.

exit

public void exit()
Exit.


getNotificationService

public NotificationService getNotificationService()
Gets the notification service value.

Returns:
The notification service (NotificationService) value.
See Also:
setNotificationService(NotificationService)

notificationReceived

public void notificationReceived(java.lang.String topic,
                                 java.util.Dictionary data)
Handle publish arrived with the specified topic and data parameters. The topic (String) parameter. The data (Object) parameter.

Specified by:
notificationReceived in interface NotificationListener
Parameters:
topic - The topic (String) parameter.
data - The data (Dictionary) parameter.

setNotificationService

public void setNotificationService(NotificationService notificationService)
Sets the notification service value. The notification service (NotificationService) parameter.

Parameters:
notificationService - The notification service (NotificationService) parameter.
See Also:
getNotificationService()

1.0.0

Copyright (c) 1999, 2007 IBM